Skip to content

Commit 8eece1f

Browse files
author
Simon Rit
committed
COMP: Move CMake's include(ITKWindowsUtf8) for external modules
The inclusion in the root CMakeLists.txt was causing the following configure error when compiling a module externally: ``` CMake Error at C:/src/itk/ITK-main/CMake/ITKModuleTest.cmake:93 (itk_target_attach_windows_utf8_manifest): Unknown CMake command "itk_target_attach_windows_utf8_manifest". Call Stack (most recent call first): test/CMakeLists.txt:22 (createtestdriver) ```
1 parent fbe52c0 commit 8eece1f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CMake/ITKModuleTest.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
# KitTests - a list of tests to be included in the test driver
1212
# ADDITIONAL_SRC (optional) - additional source files, which don't contain tests
1313

14+
include(ITKWindowsUtf8)
15+
1416
function(CreateTestDriver KIT KIT_LIBS KitTests)
1517
set(ADDITIONAL_SRC ${ARGN})
1618
if(EMSCRIPTEN)

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ include(PreventInSourceBuilds)
180180
include(PreventInBuildInstalls)
181181
include(ITKModuleMacros)
182182
include(ITKExternalData)
183-
include(ITKWindowsUtf8)
184183
include(ITKModuleTest)
185184
include(itkCheckSourceTree)
186185

0 commit comments

Comments
 (0)