Skip to content

Commit b6f062a

Browse files
committed
cmake: correct how GTest is configured
1 parent 504f335 commit b6f062a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ if (PARTIO_BUILD_DOCS)
145145
add_subdirectory(src/doc)
146146
endif()
147147

148+
find_package(GTest)
148149
if (GTest_FOUND AND PARTIO_ENABLE_TESTING)
149-
find_package(GTest)
150150
add_subdirectory(src/tests)
151151
endif()

0 commit comments

Comments
 (0)