2005-09-07 21:05:01 +00:00
|
|
|
IF(APPLE)
|
|
|
|
SET(CMAKE_CXX_CREATE_SHARED_LIBRARY "${CMAKE_C_CREATE_SHARED_LIBRARY}")
|
|
|
|
SET(CMAKE_CXX_CREATE_SHARED_MODULE "${CMAKE_C_CREATE_SHARED_MODULE}")
|
2006-12-12 16:17:04 +00:00
|
|
|
STRING( REGEX REPLACE "CMAKE_C_COMPILER"
|
|
|
|
CMAKE_CXX_COMPILER CMAKE_CXX_CREATE_SHARED_MODULE
|
|
|
|
"${CMAKE_CXX_CREATE_SHARED_MODULE}")
|
|
|
|
STRING( REGEX REPLACE "CMAKE_C_COMPILER"
|
|
|
|
CMAKE_CXX_COMPILER CMAKE_CXX_CREATE_SHARED_LIBRARY
|
|
|
|
"${CMAKE_CXX_CREATE_SHARED_LIBRARY}")
|
2005-09-07 21:05:01 +00:00
|
|
|
ENDIF(APPLE)
|
2005-11-28 19:19:57 +00:00
|
|
|
|
2006-12-12 16:17:04 +00:00
|
|
|
SET(VTKFTGL_BINARY_DIR "${VTK_BINARY_DIR}/Utilities/ftgl"
|
|
|
|
CACHE INTERNAL "")
|
|
|
|
SET(VTKFREETYPE_BINARY_DIR "${VTK_BINARY_DIR}/Utilities/freetype"
|
|
|
|
CACHE INTERNAL "")
|
|
|
|
SET(VTKFTGL_SOURCE_DIR "${VTK_SOURCE_DIR}/Utilities/ftgl"
|
|
|
|
CACHE INTERNAL "")
|
|
|
|
SET(VTKFREETYPE_SOURCE_DIR "${VTK_SOURCE_DIR}/Utilities/freetype"
|
|
|
|
CACHE INTERNAL "")
|
2005-11-28 19:19:57 +00:00
|
|
|
|
2006-12-12 16:17:04 +00:00
|
|
|
SET(VTK_GLEXT_FILE "${VTK_SOURCE_DIR}/Utilities/ParseOGLExt/headers/glext.h"
|
|
|
|
CACHE FILEPATH
|
2006-03-13 18:11:50 +00:00
|
|
|
"Location of the OpenGL extensions header file (glext.h).")
|
2006-12-12 16:17:04 +00:00
|
|
|
SET(VTK_GLXEXT_FILE
|
|
|
|
"${VTK_SOURCE_DIR}/Utilities/ParseOGLExt/headers/glxext.h" CACHE FILEPATH
|
2006-03-13 18:11:50 +00:00
|
|
|
"Location of the GLX extensions header file (glxext.h).")
|
2006-12-12 16:17:04 +00:00
|
|
|
SET(VTK_WGLEXT_FILE "${VTK_SOURCE_DIR}/Utilities/ParseOGLExt/headers/wglext.h"
|
|
|
|
CACHE FILEPATH
|
2006-03-13 18:11:50 +00:00
|
|
|
"Location of the WGL extensions header file (wglext.h).")
|
|
|
|
|
2006-11-16 20:29:46 +00:00
|
|
|
# work around an old bug in VTK
|
|
|
|
SET(TIFF_RIGHT_VERSION 1)
|
2006-12-12 16:17:04 +00:00
|
|
|
|