Skip to content

Commit

Permalink
build: support CMake below v3.30 (2024.07)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcticLampyrid committed Jul 30, 2024
1 parent df08f96 commit fa1469d
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
Expand Up @@ -7,7 +7,9 @@ set(CMAKE_CXX_EXTENSIONS OFF)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/.cmake/)
include(Version)

cmake_policy(SET CMP0167 OLD)
if (POLICY CMP0167)
cmake_policy(SET CMP0167 OLD)
endif()

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

Expand Down

0 comments on commit fa1469d

Please sign in to comment.