Skip to content

Commit

Permalink
Merge pull request #2729 from lnicola/cmp0148-dev
Browse files Browse the repository at this point in the history
Forward-port #2728 (`CMP0148` patch)
  • Loading branch information
cvvergara authored Jan 24, 2025
2 parents 86e7b72 + 25f8702 commit 28cd1f6
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 28cd1f6

Please # to comment.