File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ if (Python_NumPy_FOUND AND NLOPT_CXX)
25
25
26
26
set (SWIG_MODULE_nlopt_python_EXTRA_DEPS nlopt-python.i numpy.i generate-cpp )
27
27
28
- # swig_add_module is deprecated
29
28
swig_add_library (nlopt_python LANGUAGE python SOURCES nlopt.i
30
29
OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR} /python
31
30
OUTFILE_DIR ${CMAKE_CURRENT_BINARY_DIR} )
@@ -51,7 +50,6 @@ if (GUILE_FOUND AND NLOPT_CXX)
51
50
set (SWIG_MODULE_nlopt_guile_EXTRA_DEPS nlopt-guile.i generate-cpp )
52
51
set (CMAKE_SWIG_FLAGS -scmstub )
53
52
54
- # swig_add_module is deprecated
55
53
swig_add_library (nlopt_guile LANGUAGE guile SOURCES nlopt.i
56
54
OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR} /guile
57
55
OUTFILE_DIR ${CMAKE_CURRENT_BINARY_DIR} )
@@ -81,7 +79,6 @@ if (JNI_FOUND AND Java_FOUND AND SWIG_FOUND AND NLOPT_CXX)
81
79
set (SWIG_MODULE_nlopt_java_EXTRA_DEPS nlopt-java.i generate-cpp )
82
80
set (CMAKE_SWIG_FLAGS -package nlopt )
83
81
84
- # swig_add_module is deprecated
85
82
# OUTPUT_DIR is ${CMAKE_CURRENT_BINARY_DIR}/java/ + the -package above (with
86
83
# any '.' replaced by '/'). It must also match the GLOB in glob_java.cmake.
87
84
swig_add_library (nlopt_java LANGUAGE java SOURCES nlopt.i
You can’t perform that action at this time.
0 commit comments