File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -470,7 +470,7 @@ if (BUILD_qcustomplot)
470470 set (ARCHIVE_DEPENDENCIES ${ARCHIVE_DEPENDENCIES} qcustomplot)
471471endif (BUILD_qcustomplot)
472472
473- option (BUILD_nlopt "Build the nlopt library" OFF )
473+ option (BUILD_nlopt "Build the nlopt library" ON )
474474if (BUILD_nlopt)
475475 message (STATUS "adding project: nlopt" )
476476 ExternalProject_Add(nlopt
@@ -479,8 +479,15 @@ if (BUILD_nlopt)
479479
480480 CONFIGURE_COMMAND ${CMAKE_COMMAND}
481481 ${COMMON_CMAKE_OPTIONS}
482- -DBUILD_SHARED_LIBS=OFF
483- ${CMAKE_CURRENT_SOURCE_DIR} /nlopt
482+ -DBUILD_SHARED_LIBS=OFF
483+ -DNLOPT_PYTHON=OFF
484+ -DNLOPT_OCTAVE=OFF
485+ -DNLOPT_MATLAB=OFF
486+ -DNLOPT_GUILE=OFF
487+ -DNLOPT_JAVA=OFF
488+ -DNLOPT_SWIG=OFF
489+ -DNLOPT_TESTS=OFF
490+ ${CMAKE_CURRENT_SOURCE_DIR} /nlopt
484491
485492 BUILD_COMMAND ${CMAKE_MAKE_PROGRAM} ${BUILD_OPTIONS}
486493 INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} install
You can’t perform that action at this time.
0 commit comments