Commit 3d5151ed authored by Sebastien Barre's avatar Sebastien Barre
Browse files

FIX: need vtkConfig.cmake to be configured *not* in IMMEDIATE mode, otherwise...

FIX: need vtkConfig.cmake to be configured *not* in IMMEDIATE mode, otherwise some vars set in subdirs are not expanded (TCL_TK_ stuff)
parent 4354fbdc
......@@ -95,7 +95,7 @@ SET(VTK_LIBRARY_DEPENDS_FILE "${VTK_BINARY_DIR}/VTKLibraryDepends.cmake")
#-----------------------------------------------------------------------------
# Configure VTKConfig.cmake for the build tree.
CONFIGURE_FILE(${VTK_SOURCE_DIR}/VTKConfig.cmake.in
${VTK_BINARY_DIR}/VTKConfig.cmake @ONLY IMMEDIATE)
${VTK_BINARY_DIR}/VTKConfig.cmake @ONLY)
# Hack to give source tree access for a build tree configuration.
STRING(ASCII 35 VTK_STRING_POUND)
......@@ -203,4 +203,4 @@ SET(VTK_LIBRARY_DEPENDS_FILE "${CMAKE_INSTALL_PREFIX}/lib/vtk/VTKLibraryDepends.
#-----------------------------------------------------------------------------
# Configure VTKConfig.cmake for the install tree.
CONFIGURE_FILE(${VTK_SOURCE_DIR}/VTKConfig.cmake.in
${VTK_BINARY_DIR}/Utilities/VTKConfig.cmake @ONLY IMMEDIATE)
${VTK_BINARY_DIR}/Utilities/VTKConfig.cmake @ONLY)
Markdown is supported
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