summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-11-24 17:09:17 (GMT)
committerMarius Kintel <marius@kintel.net>2011-11-24 17:09:17 (GMT)
commit3f0a991a3da991ce9672fe92cffa157e194abab9 (patch)
tree4f722ba5c7fc07ea701b135d0a18b0629b8fa2a4 /tests
parent2d98fb91ce974e2b907ab65fede9fcf481416765 (diff)
Bail if CGAL < 3.6
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 221500a..15f168f 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -190,6 +190,9 @@ if (NOT $ENV{MACOSX_DEPLOY_DIR} STREQUAL "")
set(CMAKE_MODULE_PATH "${CGAL_DIR}")
endif()
find_package(CGAL REQUIRED)
+if("${CGAL_MAJOR_VERSION}.${CGAL_MINOR_VERSION}" VERSION_LESS 3.6)
+ message(FATAL_ERROR "CGAL >= 3.6 required")
+endif()
include_directories(${CGAL_INCLUDE_DIRS})
# Internal includes
contact: Jan Huwald // Impressum