1
0
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:
f4exb 2019-06-01 21:35:33 +02:00
parent 29e818fe6f
commit 839dcdf0dc
2 changed files with 2 additions and 2 deletions

View File

@ -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")

View File

@ -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}