aboutsummaryrefslogtreecommitdiff
path: root/modules/FindBoost.cmake
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2011-06-28 17:13:05 -0400
committerAllen Winter <allen.winter@kdab.com>2011-06-28 17:13:05 -0400
commite15ffacc69242c89107afbfda6f8ece9f2b56633 (patch)
tree34bed177321c49f883d9d75616947a18f38c037f /modules/FindBoost.cmake
parent5c79bed7250cb2f854bfb4f20e4d266925d94b54 (diff)
parentc06badd8d431583071cad638fea082ca0776a0a3 (diff)
downloadextra-cmake-modules-e15ffacc69242c89107afbfda6f8ece9f2b56633.tar.gz
extra-cmake-modules-e15ffacc69242c89107afbfda6f8ece9f2b56633.tar.bz2
Merge branch 'allen' of /data/kde/trunk/KDE/kdelibs
Diffstat (limited to 'modules/FindBoost.cmake')
-rw-r--r--modules/FindBoost.cmake25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/FindBoost.cmake b/modules/FindBoost.cmake
new file mode 100644
index 00000000..8534abd9
--- /dev/null
+++ b/modules/FindBoost.cmake
@@ -0,0 +1,25 @@
+# - Try to find Boost include dirs and libraries
+#
+# Please see the Documentation for Boost in the CMake Manual for details
+# This module only forwards to the one included in cmake for compatibility
+# reasons.
+
+# This call is kept for compatibility of this module with CMake 2.6.2, which
+# only knows about Boost < 1.37.
+# Note: Do _not_ add new Boost versions here, we're trying to get rid
+# of this module in kdelibs, but thats only possible if there's a CMake-included
+# version that finds all modules that this file finds.
+# Instead add a similar call with newer version numbers to the CMakeLists.txt
+# in your project before calling find_package(Boost)
+#
+# Copyright (c) 2009 Andreas Pakulat <apaku@gmx.de>
+#
+# Redistribution AND use is allowed according to the terms of the New
+# BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
+
+set( Boost_ADDITIONAL_VERSIONS ${Boost_ADDITIONAL_VERSIONS} "1.37" )
+
+include(${CMAKE_ROOT}/Modules/FindBoost.cmake)
+