Skip to content

Commit

Permalink
Update CMakeLists.txt to set CMP0167 policy
Browse files Browse the repository at this point in the history
  • Loading branch information
fbriol committed Sep 8, 2024
1 parent 87cf65c commit 1f7e789
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ if(POLICY_CMP0144)
cmake_policy(SET CMP0144 NEW)
endif()

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

if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
set(SANITIZE "address,undefined")
if(UNIX AND NOT APPLE)
Expand Down

0 comments on commit 1f7e789

Please sign in to comment.