From 204f8ace0554cb8290a7f8cfca947d4a1251f985 Mon Sep 17 00:00:00 2001 From: "ulrich.bauer@gmail.com" Date: Tue, 30 Apr 2013 09:19:22 +0000 Subject: alpha shape creation update git-svn-id: https://phat.googlecode.com/svn/trunk@50 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d --- CMakeLists.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 98ffc17..923a069 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,7 @@ set(CMAKE_BUILD_TYPE "Release") INCLUDE(CheckCXXSourceCompiles) include_directories (include) +include_directories (/opt/local/include) FIND_PACKAGE(OpenMP) @@ -38,3 +39,24 @@ endif() add_executable (simple_example src/simple_example.cpp) add_executable (self_test src/self_test.cpp) add_executable (phat src/phat.cpp) +add_executable (reduction_test reduction_test.cpp) +add_executable (benchmark src/benchmark.cpp) + + +set(CMAKE_MODULE_PATH "modules") +set(CGAL_DIR "/opt/local/lib/cmake") + +FIND_PACKAGE(CGAL) + +if ( CGAL_FOUND ) + + include( ${CGAL_USE_FILE} ) +else() + + message(STATUS "This program requires the CGAL library, and will not be compiled.") + +endif() + +FIND_PACKAGE(Boost) + +add_executable (alpha_3 addons/alpha_3.cpp) -- cgit v1.2.3