Skip to content

Commit

Permalink
CMakeLists.txt: update comment on Google Test version not working on …
Browse files Browse the repository at this point in the history
…Windows
  • Loading branch information
phetdam committed Aug 3, 2022
1 parent 27405cb commit 74eda8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ add_subdirectory(src)
add_subdirectory(examples)

# only build tests and enable testing if compatible GoogleTest is found.
# note: on Windows, GTest_VERSION doesn't seem to be locatable, so there is
# a bit of hack here to ignore the version on Windows
# note: on Windows, GTest_VERSION doesn't seem to be locatable if built static,
# so there is a bit of hack here to ignore the version on Windows
if(
GTest_FOUND AND
(WIN32 OR GTest_VERSION VERSION_GREATER_EQUAL ${GTEST_MIN_VERSION})
Expand Down

0 comments on commit 74eda8a

Please sign in to comment.