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

cmake: set policy CMP0154 to NEW

Now that VTK is using filesets, we can leverage the optimization to
avoid waiting on custom command outputs for private sources.
parent 83c602f1
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,10 @@ if (POLICY CMP0127)
cmake_policy(SET CMP0127 NEW) # cmake_dependent_option changes
endif ()
if (POLICY CMP0154)
cmake_policy(SET CMP0154 NEW) # optimize custom commands in PRIVATE filesets
endif ()
set(vtk_cmake_dir "${VTK_SOURCE_DIR}/CMake")
list(INSERT CMAKE_MODULE_PATH 0 "${vtk_cmake_dir}")
......
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