Skip to content

Commit 54e9024

Browse files
Simon Rithjmjohnson
authored andcommitted
COMP: export ITK_LIBRARY_BUILD_TYPE for external building of modules
1 parent ada0960 commit 54e9024

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMake/ITKConfig.cmake.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ set(ITK_USE_FILE "@ITK_USE_FILE@")
4747
# Whether ITK was built with shared libraries.
4848
set(ITK_BUILD_SHARED "@ITK_BUILD_SHARED_LIBS@")
4949

50+
# Export the library build type (SHARED or STATIC) for external builds
51+
set(ITK_LIBRARY_BUILD_TYPE "@ITK_LIBRARY_BUILD_TYPE@")
52+
5053
# Whether ITK examples were built.
5154
set(ITK_BUILD_EXAMPLES "@BUILD_EXAMPLES@")
5255

0 commit comments

Comments
 (0)