Skip to content

Commit 0e01b0b

Browse files
authored
Merge pull request #2438 from compnerd/its-a-matter-of-policy
build: correct invocation of `cmake_policy`
2 parents 17a0575 + 02ed9f5 commit 0e01b0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ list(APPEND CMAKE_MODULE_PATH
77
# NOTE(compnerd) enable CMP0091 - select MSVC runtime based on
88
# CMAKE_MSVC_RUNTIME_LIBRARY. Requires CMake 3.15 or newer
99
if(POLICY CMP0091)
10-
cmake_policy(CMP0091 NEW)
10+
cmake_policy(SET CMP0091 NEW)
1111
endif()
1212

1313
project(Foundation

0 commit comments

Comments
 (0)