Commit 241cd490 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

ENH: Allow external tools to initialize Tk header files

parent da906a88
......@@ -359,6 +359,9 @@ SET(KIT_PYTHON_DEPS)
SET(KIT_JAVA_DEPS)
IF (TK_LIBRARY AND VTK_USE_TK)
SET(VTK_GENERATE_TK_INTERNALS 1)
ENDIF (TK_LIBRARY AND VTK_USE_TK)
IF(VTK_GENERATE_TK_INTERNALS)
SET (HAVE_LIMITS_H ${CMAKE_HAVE_LIMITS_H})
SET (HAVE_UNISTD_H ${CMAKE_HAVE_UNISTD_H})
CONFIGURE_FILE(
......@@ -369,7 +372,7 @@ IF (TK_LIBRARY AND VTK_USE_TK)
FILES ${CMAKE_CURRENT_BINARY_DIR}/vtkTkInternals.h)
ENDIF(NOT VTK_INSTALL_NO_DEVELOPMENT)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
ENDIF (TK_LIBRARY AND VTK_USE_TK)
ENDIF (VTK_GENERATE_TK_INTERNALS)
IF (VTK_WRAP_TCL)
IF(VTK_USE_TK)
......
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