[Pkg-running-devel] [antpm] 02/41: cmake: link boost atomic too
Kristof Ralovich
ralovich-guest at moszumanska.debian.org
Tue Feb 23 21:46:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
ralovich-guest pushed a commit to branch upstream
in repository antpm.
commit 9f112fff0238ceca79cd77290908f5b669317d3e
Author: RALOVICH, Kristof <tade60 at freemail.hu>
Date: Fri Oct 9 22:36:59 2015 +0200
cmake: link boost atomic too
Debian requires this on some architectures.
---
src/CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5d1256c..43c7397 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -69,7 +69,7 @@ ELSE()
ENDIF()
set(Boost_USE_MULTITHREADED ON)
set(Boost_USE_STATIC_RUNTIME OFF)
-FIND_PACKAGE(Boost 1.41.0 COMPONENTS thread unit_test_framework program_options system filesystem date_time REQUIRED)
+FIND_PACKAGE(Boost 1.41.0 COMPONENTS thread unit_test_framework program_options system filesystem date_time atomic REQUIRED)
IF(NOT Boost_FOUND)
MESSAGE(FATAL_ERROR "Boost not found!")
ENDIF()
@@ -131,6 +131,7 @@ TARGET_LINK_LIBRARIES(antpm
${Boost_DATE_TIME_LIBRARY}
${LIBUSB_LIBRARIES}
${Boost_THREAD_LIBRARY}
+ ${Boost_ATOMIC_LIBRARY}
${Boost_SYSTEM_LIBRARY}
${Boost_FILESYSTEM_LIBRARY}
${MY_ANTPM_LIBRARIES}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/antpm.git
More information about the Pkg-running-devel
mailing list