Skip to content

Commit

Permalink
build(cmake): set cmake policy
Browse files Browse the repository at this point in the history
  • Loading branch information
Serein207 committed Jul 30, 2024
1 parent 667cfea commit dc4eca2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.15)
cmake_minimum_required(VERSION 3.21)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
Expand All @@ -7,6 +7,8 @@ set(CMAKE_CXX_EXTENSIONS OFF)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/.cmake/)
include(Version)

cmake_policy(SET CMP0167 OLD)

project(sast-evento VERSION ${VERSION_SEMANTIC} LANGUAGES CXX)

# find Slint
Expand Down

0 comments on commit dc4eca2

Please sign in to comment.