summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2012-07-20 10:11:54 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2012-07-28 12:14:31 (GMT)
commitf0916d8117bf389c0c1f26715ec6c8d2361f670f (patch)
tree10c00028282efda9f85392aa561f8984770da97d
parent8678445bd6cadbd5bfebc8d7de03e83ca1c68234 (diff)
downloadlibkolabxml-libkolabxml-0.7.tar.gz
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.libkolabxml-0.7
(cherry picked from commit 3efa3f0fc9a227aa0573558662fe4209a91b5a55)
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)