File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,16 +64,6 @@ set (NLOPT_INSTALL_CMAKEDIR ${CMAKE_INSTALL_LIBDIR}/cmake/nlopt CACHE STRING "
6464set (CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX} /${NLOPT_INSTALL_LIBDIR} CACHE PATH "rpath" )
6565set (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE CACHE BOOL "use link path" )
6666
67- if (POLICY CMP0042)
68- # Set MACOSX_RPATH to ON
69- cmake_policy (SET CMP0042 NEW )
70- endif ()
71-
72- if (POLICY CMP0086)
73- # UseSWIG honors SWIG_MODULE_NAME via -module flag
74- cmake_policy (SET CMP0086 NEW )
75- endif ()
76-
7767include (CheckIncludeFiles )
7868include (CheckFunctionExists )
7969include (CheckTypeSize )
Original file line number Diff line number Diff line change 1-
2- if (POLICY CMP0078)
3- cmake_policy (SET CMP0078 NEW )
4- endif ()
51# clean up old generated source files before running SWIG, useful for Java
62set (UseSWIG_MODULE_VERSION 2)
73include (UseSWIG )
You can’t perform that action at this time.
0 commit comments