mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 01:18:38 -05:00
Use installed lib
This commit is contained in:
parent
d764c3635e
commit
51f8ece65b
3
external/CMakeLists.txt
vendored
3
external/CMakeLists.txt
vendored
@ -752,19 +752,18 @@ if ((NOT LIBDSDCC_FOUND OR LIBDSDCC_EXTERNAL) AND LIBMBE_FOUND)
|
||||
endif ((NOT LIBDSDCC_FOUND OR LIBDSDCC_EXTERNAL) AND LIBMBE_FOUND)
|
||||
|
||||
if (LINUX AND (NOT LIBSIGMF_FOUND OR LIBSIGMF_EXTERNAL))
|
||||
set(LIBSIGMF_LIBRARIES "${EXTERNAL_BUILD_LIBRARIES}/lib${LIB_SUFFIX}/libsigmf${CMAKE_SHARED_LIBRARY_SUFFIX}" CACHE INTERNAL "")
|
||||
ExternalProject_Add(libsigmf
|
||||
GIT_REPOSITORY https://github.com/f4exb/libsigmf.git
|
||||
GIT_TAG ${LIBSIGMF_TAG}
|
||||
PREFIX "${EXTERNAL_BUILD_LIBRARIES}/libsigmf"
|
||||
CMAKE_ARGS ${COMMON_CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
|
||||
BUILD_BYPRODUCTS "${LIBSIGMF_LIBRARIES}"
|
||||
TEST_COMMAND ""
|
||||
)
|
||||
ExternalProject_Get_Property(libsigmf install_dir)
|
||||
set_global_cache(LIBSIGMF_FOUND ON)
|
||||
set(LIBSIGMF_EXTERNAL ON CACHE INTERNAL "")
|
||||
set(LIBSIGMF_INCLUDE_DIR "${install_dir}/include" CACHE INTERNAL "")
|
||||
set(LIBSIGMF_LIBRARIES "${install_dir}/lib${LIB_SUFFIX}/libsigmf${CMAKE_SHARED_LIBRARY_SUFFIX}" CACHE INTERNAL "")
|
||||
endif (LINUX AND (NOT LIBSIGMF_FOUND OR LIBSIGMF_EXTERNAL))
|
||||
|
||||
# For APT demodulator
|
||||
|
Loading…
Reference in New Issue
Block a user