Skip to content
Snippets Groups Projects
Commit 84741ef3 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

cmake: initialize the build type earlier

parent 8a712742
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ set(VTK_CMAKE_DIR "${VTK_SOURCE_DIR}/CMake")
set(CMAKE_MODULE_PATH ${VTK_CMAKE_DIR} ${CMAKE_MODULE_PATH})
include(vtkCompilerChecks)
include(vtkInitializeBuildType)
# Objective-C++ compile flags.
# CMake has no equivalent of CMAKE_CXX_FLAGS for Objective-C++ (bug #4756)
......@@ -37,8 +38,6 @@ macro(vtk_download_attempt_check _name)
endif()
endmacro()
include(vtkInitializeBuildType)
# Test input data staging directory.
file(RELATIVE_PATH vtk_reldir "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
set(VTK_TEST_DATA_DIR "${ExternalData_BINARY_ROOT}/${vtk_reldir}/Testing")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment