Branch 'libkolabxml-0.7' - CMakeLists.txt
Christian Mollekopf
mollekopf at kolabsys.com
Sat Jul 28 14:14:46 CEST 2012
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f0916d8117bf389c0c1f26715ec6c8d2361f670f
Author: Christian Mollekopf <mollekopf at kolabsys.com>
Date: Fri Jul 20 12:11:54 2012 +0200
With boost >1.50 we also need the system library. Using the system library work also on older versions of boost so no need for an if clause.
(cherry picked from commit 3efa3f0fc9a227aa0573558662fe4209a91b5a55)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c71eebe..18e2dca 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -82,7 +82,7 @@ set(CMAKECONFIG_INSTALL_DIR ${LIB_INSTALL_DIR}/cmake/Libkolabxml )
configure_file(libkolabxml-version.h.cmake "${CMAKE_BINARY_DIR}/libkolabxml-version.h" @ONLY)
set(Boost_USE_MULTITHREADED ON)
-find_package(Boost REQUIRED COMPONENTS thread)
+find_package(Boost REQUIRED COMPONENTS thread system)
if (Boost_FOUND)
message("Found boost in ${Boost_INCLUDE_DIRS}")
endif (Boost_FOUND)
More information about the commits
mailing list