1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 08:04:49 -05:00

Add LIBSIGMF_DEPENDS

This commit is contained in:
Jon Beniston 2023-07-30 21:50:25 +01:00
parent bf913b12a1
commit 37db1910c5
2 changed files with 7 additions and 1 deletions

View File

@ -760,9 +760,11 @@ if (LINUX AND (NOT LIBSIGMF_FOUND OR LIBSIGMF_EXTERNAL))
TEST_COMMAND "" TEST_COMMAND ""
) )
ExternalProject_Get_Property(libsigmf install_dir) ExternalProject_Get_Property(libsigmf install_dir)
set_global(LIBSIGMF_DEPENDS libsigmf)
set_global_cache(LIBSIGMF_FOUND ON) set_global_cache(LIBSIGMF_FOUND ON)
set(LIBSIGMF_EXTERNAL ON CACHE INTERNAL "") 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 "") set(LIBSIGMF_LIBRARIES "${install_dir}/lib${LIB_SUFFIX}/liblibsigmf${CMAKE_SHARED_LIBRARY_SUFFIX}" CACHE INTERNAL "")
endif (LINUX AND (NOT LIBSIGMF_FOUND OR LIBSIGMF_EXTERNAL)) endif (LINUX AND (NOT LIBSIGMF_FOUND OR LIBSIGMF_EXTERNAL))

View File

@ -503,6 +503,10 @@ if(DEFINED OPUS_DEPENDS)
add_dependencies(sdrbase "${OPUS_DEPENDS}") add_dependencies(sdrbase "${OPUS_DEPENDS}")
endif() endif()
if(DEFINED LIBSIGMF_DEPENDS)
add_dependencies(sdrbase "${LIBSIGMF_DEPENDS}")
endif()
target_link_libraries(sdrbase target_link_libraries(sdrbase
${OPUS_LIBRARIES} ${OPUS_LIBRARIES}
${sdrbase_FFTW3F_LIB} ${sdrbase_FFTW3F_LIB}