1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

fixes CMake warning under Linux

This commit is contained in:
Carles Fernandez 2016-01-21 00:42:17 +01:00
parent f6cb32bc9f
commit 577f7f1940

View File

@ -57,11 +57,8 @@ if(ENABLE_STATIC_LIBS)
target_link_libraries(volk_gnsssdr_profile volk_gnsssdr_static ${Boost_LIBRARIES} ${Clang_required_link} ${orc_lib})
if(NOT APPLE)
set_target_properties(volk_gnsssdr_profile PROPERTIES LINK_FLAGS "-static")
add_dependencies(volk_gnsssdr_profile volk_gnsssdr-static)
else(NOT APPLE)
add_dependencies(volk_gnsssdr_profile volk_gnsssdr)
endif(NOT APPLE)
add_dependencies(volk_gnsssdr_profile volk_gnsssdr)
else(ENABLE_STATIC_LIBS)
target_link_libraries(volk_gnsssdr_profile volk_gnsssdr ${Boost_LIBRARIES} ${Clang_required_link} ${orc_lib})
add_dependencies(volk_gnsssdr_profile volk_gnsssdr)