Skip to content

Commit b6f062a

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)