Skip to content

Commit 18d4b4e

Browse files
committedOct 1, 2024
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 121f6a4 commit 18d4b4e

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)