Skip to content

Commit

Permalink
switch cmake policy
Browse files Browse the repository at this point in the history
  • Loading branch information
xtofalex committed Sep 27, 2024
1 parent 61ebe22 commit 878d9b8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ project(naja
)

cmake_policy(SET CMP0048 NEW)
if(NOT APPLE AND ${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.30")
cmake_policy(SET CMP0167 NEW)
else()
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.30")
cmake_policy(SET CMP0167 OLD)
endif()

Expand Down

0 comments on commit 878d9b8

Please sign in to comment.