Skip to content

Commit

Permalink
cmake: Remove useless check for CMP0077 (#372)
Browse files Browse the repository at this point in the history
cpu_features requires CMake 3.13 which sets CMP0077
always to NEW.
  • Loading branch information
gruenich authored Dec 9, 2024
1 parent 3db721e commit 0bc979d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
cmake_minimum_required(VERSION 3.13)

# option() honors normal variables.
# see: https://cmake.org/cmake/help/git-stage/policy/CMP0077.html
if(POLICY CMP0077)
cmake_policy(SET CMP0077 NEW)
endif()

project(CpuFeatures VERSION 0.9.0 LANGUAGES C)

set(CMAKE_C_STANDARD 99)
Expand Down

0 comments on commit 0bc979d

Please sign in to comment.