Skip to content

Commit

Permalink
Use internal GoogleTest module for newer CMake instead of upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuck Atkins committed May 25, 2018
1 parent d0af1de commit 31ec788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/GoogleTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#------------------------------------------------------------------------------#

# This module is already included in new versions of CMake
if(CMAKE_VERSION VERSION_LESS 3.10)
if(CMAKE_VERSION VERSION_LESS 4)
include(${CMAKE_CURRENT_LIST_DIR}/upstream/GoogleTest.cmake)
else()
include(${CMAKE_ROOT}/Modules/GoogleTest.cmake)
Expand Down

0 comments on commit 31ec788

Please sign in to comment.