mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-10-20 06:22:36 +00:00
Add Boost::atomic target, required by Boost::thread in some configurations (e.g. OpenSUSE)
This commit is contained in:
@@ -40,17 +40,12 @@ target_link_libraries(front_end_cal_lib
|
||||
Glog::glog
|
||||
Gnuradio::blocks
|
||||
Gnuradio::runtime
|
||||
Boost::boost
|
||||
Boost::serialization
|
||||
Boost::thread
|
||||
)
|
||||
|
||||
add_executable(front-end-cal ${CMAKE_CURRENT_SOURCE_DIR}/main.cc)
|
||||
|
||||
add_custom_command(TARGET front-end-cal POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:front-end-cal>
|
||||
${CMAKE_SOURCE_DIR}/install/$<TARGET_FILE_NAME:front-end-cal>)
|
||||
|
||||
target_link_libraries(front-end-cal
|
||||
PUBLIC
|
||||
${MAC_LIBRARIES}
|
||||
@@ -70,6 +65,10 @@ target_compile_definitions(front-end-cal
|
||||
PUBLIC -DGNSSSDR_INSTALL_DIR="${CMAKE_INSTALL_PREFIX}"
|
||||
)
|
||||
|
||||
add_custom_command(TARGET front-end-cal POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:front-end-cal>
|
||||
${CMAKE_SOURCE_DIR}/install/$<TARGET_FILE_NAME:front-end-cal>)
|
||||
|
||||
install(TARGETS front-end-cal
|
||||
RUNTIME DESTINATION bin
|
||||
COMPONENT "front-end-cal"
|
||||
|
||||
Reference in New Issue
Block a user