Skip to content

Commit 0b46c4e

Browse files
committed
BUG: Include find GTest CMake code when installed
1 parent 7fe501d commit 0b46c4e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Modules/ThirdParty/GoogleTest/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ if(NOT ITK_BINARY_DIR)
1010
set(GTEST_ROOT \"${GTEST_ROOT}\")
1111
find_package(GTest REQUIRED)
1212
endif()
13+
")
14+
set(ITKGoogleTest_EXPORT_CODE_INSTALL "
15+
set(GTEST_ROOT \"${GTEST_ROOT}\")
16+
find_package(GTest REQUIRED)
1317
")
1418
endif()
1519
endif ()

0 commit comments

Comments
 (0)