-
Notifications
You must be signed in to change notification settings - Fork 3
/
CGALConfig.cmake
124 lines (99 loc) · 5.48 KB
/
CGALConfig.cmake
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#
# This files contains definitions needed to use CGAL in a program.
# DO NOT EDIT THIS. The definitons have been generated by CMake at configuration time.
# This file is loaded by cmake via the command "find_package(CGAL)"
#
# This file correspond to a possibly out-of-sources CGAL configuration, thus the actual location
# must be given by the cmake variable or enviroment variable CGAL_DIR.
set(CGAL_CONFIG_LOADED TRUE)
set(CGAL_INSTALLATION_PACKAGE_DIR "/Users/SChatterjee/coi-pyon-libraries/code/cgal-4.0/CGAL-4.0")
set(CGAL_CORE_PACKAGE_DIR "/Users/SChatterjee/coi-pyon-libraries/code/cgal-4.0/CGAL-4.0")
set(CGAL_MAJOR_VERSION "4" )
set(CGAL_MINOR_VERSION "0" )
set(CGAL_BUILD_VERSION "1000" )
set(CGAL_BUILD_SHARED_LIBS "ON" )
set(CGAL_Boost_USE_STATIC_LIBS "OFF" )
set(CGAL_CXX_FLAGS_INIT " -frounding-math -fno-strict-aliasing" )
set(CGAL_CXX_FLAGS_RELEASE_INIT "-O3 -DNDEBUG" )
set(CGAL_CXX_FLAGS_DEBUG_INIT "-g" )
set(CGAL_MODULE_LINKER_FLAGS_INIT " " )
set(CGAL_MODULE_LINKER_FLAGS_RELEASE_INIT "" )
set(CGAL_MODULE_LINKER_FLAGS_DEBUG_INIT "" )
set(CGAL_SHARED_LINKER_FLAGS_INIT " -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" )
set(CGAL_SHARED_LINKER_FLAGS_RELEASE_INIT "" )
set(CGAL_SHARED_LINKER_FLAGS_DEBUG_INIT "" )
set(CGAL_BUILD_TYPE_INIT "Release" )
set(CGAL_INCLUDE_DIRS "/Users/SChatterjee/coi-pyon-libraries/code/cgal-4.0/CGAL-4.0/include;/Users/SChatterjee/coi-pyon-libraries/code/cgal-4.0/CGAL-4.0/include" )
set(CGAL_MODULES_DIR "/Users/SChatterjee/coi-pyon-libraries/code/cgal-4.0/CGAL-4.0/cmake/modules" )
set(CGAL_LIBRARIES_DIR "/Users/SChatterjee/coi-pyon-libraries/code/cgal-4.0/CGAL-4.0/lib" )
set(WITH_CGAL "ON" )
set(WITH_CGAL_Core "" )
set(WITH_CGAL_ImageIO "ON" )
set(WITH_CGAL_Qt3 "ON" )
set(WITH_CGAL_Qt4 "ON" )
set(CGAL_LIBRARY "/Users/SChatterjee/coi-pyon-libraries/code/cgal-4.0/CGAL-4.0/lib/libCGAL.dylib" )
set(CGAL_Core_LIBRARY "" )
set(CGAL_ImageIO_LIBRARY "/Users/SChatterjee/coi-pyon-libraries/code/cgal-4.0/CGAL-4.0/lib/libCGAL_ImageIO.dylib" )
set(CGAL_Qt3_LIBRARY "" )
set(CGAL_Qt4_LIBRARY "/Users/SChatterjee/coi-pyon-libraries/code/cgal-4.0/CGAL-4.0/lib/libCGAL_Qt4.dylib" )
set(CGAL_3RD_PARTY_INCLUDE_DIRS "/usr/local/include" )
set(CGAL_3RD_PARTY_DEFINITIONS "" )
set(CGAL_3RD_PARTY_LIBRARIES_DIRS "/usr/local/lib" )
set(CGAL_3RD_PARTY_LIBRARIES "/usr/local/lib/libboost_thread-mt.dylib" )
set(CGAL_Core_3RD_PARTY_INCLUDE_DIRS "" )
set(CGAL_Core_3RD_PARTY_DEFINITIONS "" )
set(CGAL_Core_3RD_PARTY_LIBRARIES_DIRS "" )
set(CGAL_Core_3RD_PARTY_LIBRARIES "" )
set(CGAL_ImageIO_3RD_PARTY_INCLUDE_DIRS "/System/Library/Frameworks/OpenGL.framework;/usr/include" )
set(CGAL_ImageIO_3RD_PARTY_DEFINITIONS "-DCGAL_USE_ZLIB" )
set(CGAL_ImageIO_3RD_PARTY_LIBRARIES_DIRS "" )
set(CGAL_ImageIO_3RD_PARTY_LIBRARIES "/System/Library/Frameworks/AGL.framework;/System/Library/Frameworks/OpenGL.framework;/usr/lib/libz.dylib" )
set(CGAL_ImageIO_USE_ZLIB "ON" )
set(CGAL_Qt3_3RD_PARTY_INCLUDE_DIRS "" )
set(CGAL_Qt3_3RD_PARTY_DEFINITIONS "" )
set(CGAL_Qt3_3RD_PARTY_LIBRARIES_DIRS "" )
set(CGAL_Qt3_3RD_PARTY_LIBRARIES "" )
set(CGAL_Qt4_3RD_PARTY_INCLUDE_DIRS "/usr/local/Cellar/qt/4.7.4/include;/usr/local/Cellar/qt/4.7.4/lib/QtCore.framework;/System/Library/Frameworks/OpenGL.framework" )
set(CGAL_Qt4_3RD_PARTY_DEFINITIONS "" )
set(CGAL_Qt4_3RD_PARTY_LIBRARIES_DIRS "" )
set(CGAL_Qt4_3RD_PARTY_LIBRARIES "/usr/local/Cellar/qt/4.7.4/lib/QtOpenGL.framework;/usr/local/Cellar/qt/4.7.4/lib/QtGui.framework;/usr/local/Cellar/qt/4.7.4/lib/QtCore.framework;/System/Library/Frameworks/AGL.framework;/System/Library/Frameworks/OpenGL.framework" )
set(CGAL_VERSION "${CGAL_MAJOR_VERSION}.${CGAL_MINOR_VERSION}.${CGAL_BUILD_VERSION}")
set(CGAL_GMP_VERSION "")
set(CGAL_MPFR_VERSION "")
set(CGAL_USE_FILE "${CGAL_MODULES_DIR}/UseCGAL.cmake" )
if ( CGAL_FIND_REQUIRED )
set( CHECK_CGAL_COMPONENT_MSG_ON_ERROR TRUE )
set( CHECK_CGAL_COMPONENT_ERROR_TYPE FATAL_ERROR )
set( CHECK_CGAL_COMPONENT_ERROR_TITLE "ERROR:" )
else()
if ( NOT CGAL_FIND_QUIETLY )
set( CHECK_CGAL_COMPONENT_MSG_ON_ERROR TRUE )
set( CHECK_CGAL_COMPONENT_ERROR_TYPE STATUS )
set( CHECK_CGAL_COMPONENT_ERROR_TITLE "NOTICE:" )
else()
set( CHECK_CGAL_COMPONENT_MSG_ON_ERROR FALSE )
endif()
endif()
macro(check_cgal_component COMPONENT)
set( CGAL_LIB CGAL${COMPONENT} )
if ( WITH_${CGAL_LIB} )
set( ${CGAL_LIB}_FOUND TRUE )
else()
set( ${CGAL_LIB}_FOUND FALSE )
endif()
if ( "${COMPONENT}" STREQUAL "" )
set( CHECK_${CGAL_LIB}_ERROR_TAIL "" )
else()
set( CHECK_${CGAL_LIB}_ERROR_TAIL " Please configure CGAL using WITH_${CGAL_LIB}=ON." )
endif()
if ( NOT ${CGAL_LIB}_FOUND AND CHECK_CGAL_COMPONENT_MSG_ON_ERROR )
message( ${CHECK_CGAL_COMPONENT_ERROR_TYPE} "${CHECK_CGAL_COMPONENT_ERROR_TITLE} The ${CGAL_LIB} library was not configured.${CHECK_${CGAL_LIB}_ERROR_TAIL}" )
endif()
endmacro()
check_cgal_component("")
foreach( CGAL_COMPONENT ${CGAL_FIND_COMPONENTS} )
check_cgal_component("_${CGAL_COMPONENT}")
endforeach()
# Starting with cmake 2.6.3, CGAL_FIND_COMPONENTS is cleared out when find_package returns.
# But we need it within UseCGAL.cmake, so we save it aside into another variable
set( CGAL_REQUESTED_COMPONENTS ${CGAL_FIND_COMPONENTS} )