Skip to content

Commit 28cd1f6

Browse files
authored
Merge pull request #2729 from lnicola/cmp0148-dev
Forward-port #2728 (`CMP0148` patch)
2 parents 86e7b72 + 25f8702 commit 28cd1f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ if(POLICY CMP0167)
1414
cmake_policy(SET CMP0167 OLD)
1515
endif()
1616

17-
cmake_policy(SET CMP0148 OLD)
17+
if(POLICY CMP0148)
18+
cmake_policy(SET CMP0148 OLD)
19+
endif()
1820

1921
#---------------------------------------------
2022
# Setting kind of build

0 commit comments

Comments
 (0)