Skip to content

Commit 6b9e0fe

Browse files
committed
COMP: Resolve deprecation warning for SphinxExamples
CMake Warning at CMake/ITKFactoryRegistration.cmake:230 (message): ITK_NO_IO_FACTORY_REGISTER_MANAGER CMake variable is deprecated. Use ITK_NO_IMAGEIO_FACTORY_REGISTER_MANAGER Resolves: #319
1 parent f1651b3 commit 6b9e0fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IO/ImageBase/RegisterIOFactories/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ find_package( ITK REQUIRED )
66
# Registering the IO classes manually is usually not necessary,
77
# unless this variable is set before calling
88
# "include( ${ITK_USE_FILE} )"
9-
set( ITK_NO_IO_FACTORY_REGISTER_MANAGER 1 )
9+
set( ITK_NO_IMAGEIO_FACTORY_REGISTER_MANAGER 1 )
1010
include( ${ITK_USE_FILE} )
1111

1212
add_executable( RegisterIOFactories Code.cxx )

0 commit comments

Comments
 (0)