Skip to content

Commit d47f698

Browse files
committed
Fix GTest found condition typo.
1 parent ccac52d commit d47f698

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
@@ -226,7 +226,7 @@ IF (BUILD_TESTING)
226226
find_package(Threads)
227227
set(CMAKE_CXX_STANDARD_REQUIRED ON)
228228
find_package(GTest HINTS /usr/local/lib/ ${GTEST_DIR})
229-
if(NOT DEFINED ${GTest_FOUND})
229+
if(NOT DEFINED GTest_FOUND)
230230
include(FetchContent)
231231
FetchContent_Declare(
232232
googletest

0 commit comments

Comments
 (0)