Commit 4bd3323f authored by Ken Martin's avatar Ken Martin
Browse files

help for Tk and Cocoa on MacOSX

parent 7c469e06
......@@ -530,6 +530,13 @@ IF(VTK_DISABLE_TK_INIT)
SET(VTK_RENDERING_NEED_TK_INTERNAL 0)
ENDIF(VTK_DISABLE_TK_INIT)
IF(VTK_INCLUDE_NEED_TK)
# Need Tk Internal headers to include tk.h on Cocoa
IF(VTK_USE_RENDERING AND VTK_USE_COCOA)
SET(VTK_RENDERING_NEED_TK_INTERNAL 1)
ENDIF(VTK_USE_RENDERING AND VTK_USE_COCOA)
ENDIF(VTK_INCLUDE_NEED_TK)
IF(VTK_RENDERING_NEED_TK_INTERNAL AND TK_LIBRARY)
IF(APPLE)
FIND_PATH(TK_INTERNAL_PATH tkMacOSXInt.h
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment