NLopt.cmake 411 B

123456789101112131415
  1. prusaslicer_add_cmake_project(NLopt
  2. URL "https://github.com/stevengj/nlopt/archive/v2.5.0.tar.gz"
  3. URL_HASH SHA256=c6dd7a5701fff8ad5ebb45a3dc8e757e61d52658de3918e38bab233e7fd3b4ae
  4. CMAKE_ARGS
  5. -DNLOPT_PYTHON:BOOL=OFF
  6. -DNLOPT_OCTAVE:BOOL=OFF
  7. -DNLOPT_MATLAB:BOOL=OFF
  8. -DNLOPT_GUILE:BOOL=OFF
  9. -DNLOPT_SWIG:BOOL=OFF
  10. -DNLOPT_TESTS:BOOL=OFF
  11. )
  12. if (MSVC)
  13. add_debug_dep(dep_NLopt)
  14. endif ()