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:
Mohammad Al-Turany
2016-03-29 15:31:29 +02:00
parent 732373faa2
commit 9a340fb7f6
2 changed files with 15 additions and 15 deletions

View File

@@ -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
)