Skip to content

Commit

Permalink
Merge pull request #2728 from lnicola/patch-1
Browse files Browse the repository at this point in the history
Make sure `CMP0148` exists
  • Loading branch information
cvvergara authored Jan 24, 2025
2 parents bf1d91e + acd9894 commit 85b809d
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 @@ -14,7 +14,9 @@ if(POLICY CMP0167)
cmake_policy(SET CMP0167 OLD)
endif()

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

#---------------------------------------------
# Setting kind of build
Expand Down

0 comments on commit 85b809d

Please sign in to comment.