PrusaSlicer/deps/+NLopt/NLopt.cmake
tamasmeszaros 03451c39e2 Followup fully converted deps to new system
Support legacy DEP_DEBUG parameter but respecting parent CMake generator
2023-10-24 15:06:46 +02:00

12 lines
350 B
CMake

add_cmake_project(NLopt
URL "https://github.com/stevengj/nlopt/archive/v2.5.0.tar.gz"
URL_HASH SHA256=c6dd7a5701fff8ad5ebb45a3dc8e757e61d52658de3918e38bab233e7fd3b4ae
CMAKE_ARGS
-DNLOPT_PYTHON:BOOL=OFF
-DNLOPT_OCTAVE:BOOL=OFF
-DNLOPT_MATLAB:BOOL=OFF
-DNLOPT_GUILE:BOOL=OFF
-DNLOPT_SWIG:BOOL=OFF
-DNLOPT_TESTS:BOOL=OFF
)