We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8003cdf commit 0ba7af6Copy full SHA for 0ba7af6
CMake/vtkModule.cmake
@@ -2546,7 +2546,9 @@ function (vtk_module_build)
2546
# The following logic ensures files are not generated in VTK source for case (3) and (4):
2547
set(_vtk_build_module_binary_dir "${_vtk_build_module_absolute_binary_dir}")
2548
if (_vtk_build_module_absolute_source_dir STREQUAL _vtk_build_module_absolute_binary_dir)
2549
- set(_vtk_build_module_binary_dir "${CMAKE_BINARY_DIR}-external")
+ get_property(_vtk_module_library_name GLOBAL
2550
+ PROPERTY "_vtk_module_${_vtk_build_module}_library_name")
2551
+ set(_vtk_build_module_binary_dir "${CMAKE_BINARY_DIR}/externals/${_vtk_module_library_name}")
2552
endif ()
2553
2554
add_subdirectory(
0 commit comments