Browse Source

Merge branch 'backport-UseSWIG-policies' into UseSWIG-policies

Brad King 4 years ago
parent
commit
05881c1cbe
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Modules/UseSWIG.cmake

+ 2 - 0
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 "")