mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-07 07:50:32 +00:00
Fix build with static libs
This commit is contained in:
parent
91f3d3085f
commit
c3fd3ab581
@ -91,8 +91,12 @@ endif()
|
|||||||
|
|
||||||
# MAKE volk_gnsssdr-config-info
|
# MAKE volk_gnsssdr-config-info
|
||||||
add_executable(volk_gnsssdr-config-info volk_gnsssdr-config-info.cc)
|
add_executable(volk_gnsssdr-config-info volk_gnsssdr-config-info.cc)
|
||||||
target_link_libraries(volk_gnsssdr-config-info volk_gnsssdr ${Boost_LIBRARIES} ${Clang_required_link} ${orc_lib})
|
if(ENABLE_STATIC_LIBS)
|
||||||
add_dependencies(volk_gnsssdr-config-info volk_gnsssdr)
|
target_link_libraries(volk_gnsssdr-config-info volk_gnsssdr_static ${Boost_LIBRARIES} ${Clang_required_link} ${orc_lib})
|
||||||
|
else(ENABLE_STATIC_LIBS)
|
||||||
|
target_link_libraries(volk_gnsssdr-config-info volk_gnsssdr ${Boost_LIBRARIES} ${Clang_required_link} ${orc_lib})
|
||||||
|
add_dependencies(volk_gnsssdr-config-info volk_gnsssdr)
|
||||||
|
endif(ENABLE_STATIC_LIBS)
|
||||||
|
|
||||||
if(ENABLE_STRIP)
|
if(ENABLE_STRIP)
|
||||||
if(CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32)
|
if(CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32)
|
||||||
|
Loading…
Reference in New Issue
Block a user