We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 61e193c + 79e1fa7 commit 64c42b5Copy full SHA for 64c42b5
1 file changed
CMakeLists.txt
@@ -67,7 +67,15 @@ project(
67
C
68
)
69
70
-set(ITK_CMAKE_DIR "${ITK_SOURCE_DIR}/CMake")
+# Required as a cache variable for FetchContent parent projects can
71
+# resolve ITK's CMake macros and config paths.
72
+set(
73
+ ITK_CMAKE_DIR
74
+ "${ITK_SOURCE_DIR}/CMake"
75
+ CACHE INTERNAL
76
+ "Directory containing CMake files for ITK configuration and module macros"
77
+ FORCE
78
+)
79
80
if(APPLE)
81
include(itkApple)
0 commit comments