-
Notifications
You must be signed in to change notification settings - Fork 0
/
tatooineConfig.cmake.in
28 lines (27 loc) · 1.01 KB
/
tatooineConfig.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
find_package(OpenMP REQUIRED COMPONENTS CXX)
find_package(Boost REQUIRED)
set(TATOOINE_USE_BLAS_AND_LAPACK @TATOOINE_USE_BLAS_AND_LAPACK@)
set(TATOOINE_CGAL_AVAILABLE @TATOOINE_CGAL_AVAILABLE@)
set(TATOOINE_USE_INSTALLED_CGAL @TATOOINE_USE_INSTALLED_CGAL@)
set(TATOOINE_GL_AVAILABLE @TATOOINE_GL_AVAILABLE@)
set(TATOOINE_BLAS_AND_LAPACK_AVAILABLE @TATOOINE_BLAS_AND_LAPACK_AVAILABLE@)
set(TATOOINE_STD_FILESYSTEM_AVAILABLE @TATOOINE_STD_FILESYSTEM_AVAILABLE@)
if (TATOOINE_GL_AVAILABLE)
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
find_package(OpenGL)
elseif("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
find_package(OpenGL COMPONENTS OpenGL EGL)
endif()
endif()
if (TATOOINE_BLAS_AND_LAPACK_AVAILABLE)
find_package(BLAS REQUIRED)
find_package(LAPACK REQUIRED)
endif()
# Commands may need to know the format version.
if (TATOOINE_CGAL_AVAILABLE)
if (TATOOINE_USE_INSTALLED_CGAL)
find_package(CGAL QUIET)
else()
list(PREPEND CMAKE_MODULE_PATH "@CMAKE_SOURCE_DIR@/geometry/cmake/modules/")
endif ()
endif()