Skip to content

Commit 42743e6

Browse files
no longer add ITK to global path in exported CMake
It turns out that we don't need `include(${ITK_USE_FILE})` in STIRConfig.cmake. This therefore avoids adding the ITK include directory to the global include path. Effectively fixes #432 as when building STIR, we don't mind (currently anyway).
1 parent 7c24e41 commit 42743e6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/cmake/STIRConfig.cmake.in

-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ if (@ITK_FOUND@)
7979
if(NOT ITK_FOUND)
8080
SET(STIR_FOUND OFF)
8181
endif()
82-
include(${ITK_USE_FILE})
8382
set(STIR_BUILT_WITH_ITK TRUE)
8483
endif()
8584

0 commit comments

Comments
 (0)