mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 12:10:34 +00:00
fixes CMake warning under Linux
This commit is contained in:
parent
f6cb32bc9f
commit
577f7f1940
@ -57,11 +57,8 @@ 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)
|
||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user