mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
Use Variables for Boost libraries instead of explicit names
Use the vairables filled by FindBoost instead explicit names in the cmake files
This commit is contained in:
parent
732373faa2
commit
9a340fb7f6
|
@ -116,16 +116,15 @@ Install(FILES ${FAIRMQHEADERS} DESTINATION include)
|
|||
Set(DEPENDENCIES
|
||||
${DEPENDENCIES}
|
||||
${ZMQ_LIBRARY_SHARED}
|
||||
boost_thread
|
||||
${Boost_THREAD_LIBRARY}
|
||||
fairmq_logger
|
||||
boost_timer
|
||||
boost_system
|
||||
boost_filesystem
|
||||
boost_program_options
|
||||
boost_random
|
||||
boost_chrono
|
||||
boost_exception
|
||||
boost_regex
|
||||
${Boost_TIMER_LIBRARY}
|
||||
${Boost_SYSTEM_LIBRARY}
|
||||
${Boost_FILESYSTEM_LIBRARY}
|
||||
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
||||
${Boost_RANDOM_LIBRARY}
|
||||
${Boost_CHRONO_LIBRARY}
|
||||
${Boost_REGEX_LIBRARY}
|
||||
)
|
||||
|
||||
If(NANOMSG_FOUND)
|
||||
|
|
|
@ -26,12 +26,13 @@ set(SRCS logger.cxx)
|
|||
set(LIBRARY_NAME fairmq_logger)
|
||||
|
||||
set(DEPENDENCIES
|
||||
boost_log
|
||||
boost_log_setup
|
||||
boost_thread
|
||||
boost_date_time
|
||||
boost_filesystem
|
||||
boost_system
|
||||
${Boost_LOG_LIBRARY}
|
||||
${Boost_LOG_SETUP_LIBRARY}
|
||||
${Boost_THREAD_LIBRARY}
|
||||
${Boost_THREAD_LIBRARY}
|
||||
${Boost_DATE_TIME_LIBRARY}
|
||||
${Boost_FILESYSTEM_LIBRARY}
|
||||
${Boost_SYSTEM_LIBRARY}
|
||||
pthread
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user