Skip to content

Commit

Permalink
Fix warning about DOWNLOAD_EXTRACT_TIMESTAMP on CMake 3.24. (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShikiSuen authored Jun 1, 2023
1 parent fc1b70f commit ce874f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ set(CMAKE_CXX_STANDARD 17)

add_library(TekkonLib Tekkon/Tekkon.hh Tekkon/main.cc)

if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
cmake_policy(SET CMP0135 NEW)
endif()

# Let CMake fetch Google Test for us.
# https://gitee.com/mirrors/googletest/tree/main/googletest#incorporating-into-an-existing-cmake-project
include(FetchContent)
Expand Down

0 comments on commit ce874f5

Please sign in to comment.