Skip to content

Commit

Permalink
chore: update CMakeLists with new version policy
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelshng committed May 12, 2024
1 parent 74a3536 commit a9fca3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ cmake_minimum_required(VERSION 3.11)
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.12")
cmake_policy(SET CMP0074 NEW)
endif()
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.27")
cmake_policy(SET CMP0144 NEW)
endif()

# for release builds, add flag "-DCMAKE_BUILD_TYPE=Release" (without quotes) when running cmake.

Expand Down

0 comments on commit a9fca3c

Please sign in to comment.