Skip to content

Commit 0bc979d

Browse files
authored
cmake: Remove useless check for CMP0077 (#372)
cpu_features requires CMake 3.13 which sets CMP0077 always to NEW.
1 parent 3db721e commit 0bc979d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
cmake_minimum_required(VERSION 3.13)
22

3-
# option() honors normal variables.
4-
# see: https://cmake.org/cmake/help/git-stage/policy/CMP0077.html
5-
if(POLICY CMP0077)
6-
cmake_policy(SET CMP0077 NEW)
7-
endif()
8-
93
project(CpuFeatures VERSION 0.9.0 LANGUAGES C)
104

115
set(CMAKE_C_STANDARD 99)

0 commit comments

Comments
 (0)