mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-28 01:44:52 +00:00
Link dependencies
This commit is contained in:
parent
5f68f92a23
commit
9ecf17a602
@ -444,7 +444,7 @@ if (NOT GFlags_FOUND)
|
|||||||
ExternalProject_Add(
|
ExternalProject_Add(
|
||||||
gflags-${gflags_RELEASE}
|
gflags-${gflags_RELEASE}
|
||||||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/gflags-${gflags_RELEASE}
|
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/gflags-${gflags_RELEASE}
|
||||||
GIT_REPOSITORY git://github.com/gflags/gflags.git
|
GIT_REPOSITORY https://github.com/gflags/gflags
|
||||||
GIT_TAG v${gflags_RELEASE}
|
GIT_TAG v${gflags_RELEASE}
|
||||||
DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/download/gflags-${gflags_RELEASE}
|
DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/download/gflags-${gflags_RELEASE}
|
||||||
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/gflags/gflags-${gflags_RELEASE}
|
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/gflags/gflags-${gflags_RELEASE}
|
||||||
|
@ -69,8 +69,8 @@ add_library(gnss_sp_libs ${GNSS_SPLIBS_SOURCES} ${GNSS_SPLIBS_HEADERS})
|
|||||||
source_group(Headers FILES ${GNSS_SPLIBS_HEADERS})
|
source_group(Headers FILES ${GNSS_SPLIBS_HEADERS})
|
||||||
|
|
||||||
target_link_libraries(gnss_sp_libs ${GNURADIO_RUNTIME_LIBRARIES}
|
target_link_libraries(gnss_sp_libs ${GNURADIO_RUNTIME_LIBRARIES}
|
||||||
${VOLK_LIBRARIES}
|
${VOLK_LIBRARIES} ${ORC_LIBRARIES}
|
||||||
${VOLK_GNSSSDR_LIBRARIES}
|
${VOLK_GNSSSDR_LIBRARIES} ${ORC_LIBRARIES}
|
||||||
${GNURADIO_BLOCKS_LIBRARIES}
|
${GNURADIO_BLOCKS_LIBRARIES}
|
||||||
${GNURADIO_FFT_LIBRARIES}
|
${GNURADIO_FFT_LIBRARIES}
|
||||||
${GNURADIO_FILTER_LIBRARIES}
|
${GNURADIO_FILTER_LIBRARIES}
|
||||||
|
@ -35,7 +35,5 @@ source_group(Headers FILES ${SIGNAL_GENERATOR_BLOCK_HEADERS})
|
|||||||
target_link_libraries(signal_generator_blocks gnss_system_parameters
|
target_link_libraries(signal_generator_blocks gnss_system_parameters
|
||||||
${GNURADIO_RUNTIME_LIBRARIES}
|
${GNURADIO_RUNTIME_LIBRARIES}
|
||||||
${GNURADIO_FFT_LIBRARIES}
|
${GNURADIO_FFT_LIBRARIES}
|
||||||
${VOLK_LIBRARIES}
|
${VOLK_LIBRARIES} ${ORC_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ endif(ENABLE_GENERIC_ARCH)
|
|||||||
file(GLOB TRACKING_GR_BLOCKS_HEADERS "*.h")
|
file(GLOB TRACKING_GR_BLOCKS_HEADERS "*.h")
|
||||||
add_library(tracking_gr_blocks ${TRACKING_GR_BLOCKS_SOURCES} ${TRACKING_GR_BLOCKS_HEADERS})
|
add_library(tracking_gr_blocks ${TRACKING_GR_BLOCKS_SOURCES} ${TRACKING_GR_BLOCKS_HEADERS})
|
||||||
source_group(Headers FILES ${TRACKING_GR_BLOCKS_HEADERS})
|
source_group(Headers FILES ${TRACKING_GR_BLOCKS_HEADERS})
|
||||||
target_link_libraries(tracking_gr_blocks tracking_lib ${GNURADIO_RUNTIME_LIBRARIES} gnss_sp_libs ${Boost_LIBRARIES} ${VOLK_GNSSSDR_LIBRARIES} )
|
target_link_libraries(tracking_gr_blocks tracking_lib ${GNURADIO_RUNTIME_LIBRARIES} gnss_sp_libs ${Boost_LIBRARIES} ${VOLK_GNSSSDR_LIBRARIES} ${ORC_LIBRARIES} )
|
||||||
if(NOT VOLK_GNSSSDR_FOUND)
|
if(NOT VOLK_GNSSSDR_FOUND)
|
||||||
add_dependencies(tracking_gr_blocks volk_gnsssdr_module)
|
add_dependencies(tracking_gr_blocks volk_gnsssdr_module)
|
||||||
endif(NOT VOLK_GNSSSDR_FOUND)
|
endif(NOT VOLK_GNSSSDR_FOUND)
|
@ -74,6 +74,7 @@ if(ENABLE_OSMOSDR)
|
|||||||
gnss_rx
|
gnss_rx
|
||||||
gnss_sp_libs
|
gnss_sp_libs
|
||||||
front_end_cal_lib
|
front_end_cal_lib
|
||||||
|
${VOLK_GNSSSDR_LIBRARIES} ${ORC_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS front-end-cal
|
install(TARGETS front-end-cal
|
||||||
|
Loading…
Reference in New Issue
Block a user