mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-17 13:51:47 -05:00
Build: fixed triggering of demoddsd build when using external libraries
This commit is contained in:
parent
29e818fe6f
commit
839dcdf0dc
2
external/CMakeLists.txt
vendored
2
external/CMakeLists.txt
vendored
@ -122,7 +122,7 @@ ExternalProject_Add(mbelib
|
|||||||
ExternalProject_Get_Property(mbelib source_dir binary_dir)
|
ExternalProject_Get_Property(mbelib source_dir binary_dir)
|
||||||
set(USE_MBELIB ON)
|
set(USE_MBELIB ON)
|
||||||
set(DSDCC_DEPENDS mbelib)
|
set(DSDCC_DEPENDS mbelib)
|
||||||
set(LIBMBE_FOUND)
|
set(LIBMBE_FOUND ON CACHE INTERNAL "")
|
||||||
set(LIBMBE_INCLUDE_DIR "${source_dir}")
|
set(LIBMBE_INCLUDE_DIR "${source_dir}")
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(LIBMBE_LIBRARIES "${SDRANGEL_BINARY_LIB_DIR}/mbe.lib")
|
set(LIBMBE_LIBRARIES "${SDRANGEL_BINARY_LIB_DIR}/mbe.lib")
|
||||||
|
@ -53,7 +53,7 @@ add_library(${TARGET_NAME} SHARED
|
|||||||
)
|
)
|
||||||
|
|
||||||
if(ENABLE_EXTERNAL_LIBRARIES)
|
if(ENABLE_EXTERNAL_LIBRARIES)
|
||||||
add_dependencies(${TARGET_NAME dsdcc)
|
add_dependencies(${TARGET_NAME} dsdcc)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(${TARGET_NAME}
|
target_link_libraries(${TARGET_NAME}
|
||||||
|
Loading…
Reference in New Issue
Block a user