1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-10 12:00:04 +00:00

fixes parallel building when volk_gnsssdr_module is already installed

This commit is contained in:
Carles Fernandez 2016-01-19 19:43:09 +01:00
parent d30a24a48c
commit 7e52e3cf5b

View File

@ -69,4 +69,10 @@ file(GLOB TRACKING_LIB_HEADERS "*.h")
add_library(tracking_lib ${TRACKING_LIB_SOURCES} ${TRACKING_LIB_HEADERS})
source_group(Headers FILES ${TRACKING_LIB_HEADERS})
target_link_libraries(tracking_lib ${OPT_TRACKING_LIBRARIES} ${VOLK_LIBRARIES} ${VOLK_GNSSSDR_LIBRARIES} ${GNURADIO_RUNTIME_LIBRARIES})
if(VOLK_GNSSSDR_FOUND)
add_dependencies(tracking_lib glog-${glog_RELEASE})
else(VOLK_GNSSSDR_FOUND)
add_dependencies(tracking_lib glog-${glog_RELEASE} volk_gnsssdr_module)
endif()