chiark / gitweb /
strip more ?
[nlopt.git] / CMakeLists.txt
index 0e40a8b1e244656172bbaeb9d969cfe28ee5fc1c..dba2f688c436b427f3695a7ed457f31194d62840 100644 (file)
@@ -82,6 +82,10 @@ if(POLICY CMP0042)
   # Set MACOSX_RPATH to ON
   cmake_policy(SET CMP0042 NEW)
 endif()
+if (POLICY CMP0086)
+  # UseSWIG honors SWIG_MODULE_NAME via -module flag
+  cmake_policy(SET CMP0086 NEW)
+endif ()
 
 include (CheckIncludeFiles)
 include (CheckFunctionExists)