mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-21 23:55:13 -05:00
Add LIBSIGMF_DEPENDS
This commit is contained in:
parent
bf913b12a1
commit
37db1910c5
4
external/CMakeLists.txt
vendored
4
external/CMakeLists.txt
vendored
@ -760,9 +760,11 @@ if (LINUX AND (NOT LIBSIGMF_FOUND OR LIBSIGMF_EXTERNAL))
|
||||
TEST_COMMAND ""
|
||||
)
|
||||
ExternalProject_Get_Property(libsigmf install_dir)
|
||||
set_global(LIBSIGMF_DEPENDS libsigmf)
|
||||
set_global_cache(LIBSIGMF_FOUND ON)
|
||||
set(LIBSIGMF_EXTERNAL ON CACHE INTERNAL "")
|
||||
set(LIBSIGMF_INCLUDE_DIR "${install_dir}/include" CACHE INTERNAL "")
|
||||
set(LIBSIGMF_INCLUDE_DIR "${install_dir}/include" CACHE INT set_global(FFTW3F_DEPENDS fftw3f)
|
||||
ERNAL "")
|
||||
set(LIBSIGMF_LIBRARIES "${install_dir}/lib${LIB_SUFFIX}/liblibsigmf${CMAKE_SHARED_LIBRARY_SUFFIX}" CACHE INTERNAL "")
|
||||
endif (LINUX AND (NOT LIBSIGMF_FOUND OR LIBSIGMF_EXTERNAL))
|
||||
|
||||
|
@ -503,6 +503,10 @@ if(DEFINED OPUS_DEPENDS)
|
||||
add_dependencies(sdrbase "${OPUS_DEPENDS}")
|
||||
endif()
|
||||
|
||||
if(DEFINED LIBSIGMF_DEPENDS)
|
||||
add_dependencies(sdrbase "${LIBSIGMF_DEPENDS}")
|
||||
endif()
|
||||
|
||||
target_link_libraries(sdrbase
|
||||
${OPUS_LIBRARIES}
|
||||
${sdrbase_FFTW3F_LIB}
|
||||
|
Loading…
Reference in New Issue
Block a user