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.
1 parent d703574 commit 5a00392Copy full SHA for 5a00392
src/CMakeLists.txt
@@ -8,7 +8,9 @@ find_package(ITK REQUIRED)
8
include(${ITK_USE_FILE})
9
10
# To avoid linker issues.
11
-if(ITKVtkGlue_LOADED)
+# Module_ITKVtkGlue is true when building inside ITK
12
+# ITKVtkGlue_LOADED is true when SuperBuild ITKEx stand-alone
13
+if(Module_ITKVtkGlue OR ITKVtkGlue_LOADED)
14
find_package(VTK REQUIRED)
15
include(${VTK_USE_FILE})
16
else()
0 commit comments