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

fixes cmake warning in MacOSX

This commit is contained in:
Carles Fernandez 2016-01-13 15:34:50 +01:00
parent ece7bc2c65
commit f88f222ef6

View File

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