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:
parent
ece7bc2c65
commit
f88f222ef6
@ -57,8 +57,11 @@ 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-static)
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user