chiark
/
gitweb
/
~ianmdlvl
/
nlopt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strip more ?
[nlopt.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 0e40a8b1e244656172bbaeb9d969cfe28ee5fc1c..dba2f688c436b427f3695a7ed457f31194d62840 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-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)