summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-04-06 12:31:34 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-04-06 12:31:40 (GMT)
commit469b58e0b10280a1cc6f94f88ecdfd30422559f6 (patch)
treeab2d376987838c3b62a0e60f4d73579021f2b8aa /Modules
parent3f402bb0e4cdcf47b6c6a76f1a3b71213cb4c7de (diff)
parent05881c1cbedfc827eace56740a96527f7036e908 (diff)
downloadCMake-469b58e0b10280a1cc6f94f88ecdfd30422559f6.zip
CMake-469b58e0b10280a1cc6f94f88ecdfd30422559f6.tar.gz
CMake-469b58e0b10280a1cc6f94f88ecdfd30422559f6.tar.bz2
Merge topic 'UseSWIG-policies'
05881c1cbe Merge branch 'backport-UseSWIG-policies' into UseSWIG-policies c3d0b25514 UseSWIG: Transform swig depfile to match Ninja generator paths 8c525d7e16 UseSWIG: Run using policy settings from includer Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5983
Diffstat (limited to 'Modules')
-rw-r--r--Modules/UseSWIG.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake
index c7d8346..8852df8 100644
--- a/Modules/UseSWIG.cmake
+++ b/Modules/UseSWIG.cmake
@@ -349,6 +349,8 @@ cmake_policy(PUSH)
cmake_policy (SET CMP0012 NEW)
# IN_LIST operator
cmake_policy (SET CMP0057 NEW)
+# Ninja generator normalizes custom command depfile paths
+cmake_policy (SET CMP0116 NEW)
set(SWIG_CXX_EXTENSION "cxx")
set(SWIG_EXTRA_LIBRARIES "")