[CMake] Fix a typo in 23ffb2bdb9

This commit is contained in:
Martin Storsjö
2024-03-12 12:35:35 +02:00
parent 5a100551d5
commit 1b945e35a6

View File

@@ -20,6 +20,6 @@ endif()
# (https://github.com/mozilla/sccache?tab=readme-ov-file#usage)
# avoiding “fatal error C1041: cannot open program database; if
# multiple CL.EXE write to the same .PDB file, please use /FS"
+if(POLICY CMP0141)
+ cmake_policy(SET CMP0141 NEW)
+endif()
if(POLICY CMP0141)
cmake_policy(SET CMP0141 NEW)
endif()