Skip to content

Commit

Permalink
[cmake] Do not set CMP0048 explicitly
Browse files Browse the repository at this point in the history
Since CMake 3.0 it is set implicitly to NEW, cppcheck requires CMake 3.5
  • Loading branch information
gruenich committed Jul 27, 2024
1 parent 15bdd97 commit 1b5767e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ cmake_minimum_required(VERSION 3.5)
if(MSVC)
cmake_minimum_required(VERSION 3.13)
endif()
cmake_policy(SET CMP0048 NEW) # allow VERSION in project()
project(Cppcheck VERSION 2.14.99 LANGUAGES CXX)

include(cmake/cxx11.cmake)
Expand Down

0 comments on commit 1b5767e

Please sign in to comment.