From: Quentin Cozette Date: Wed, 7 Apr 2021 16:06:57 +0000 (+0200) Subject: Fix nlopt 2.5.0 build - Target embedded swig instead of native one X-Git-Tag: V9_7_0~63^2~22 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3af2844bb4028e0691d580844510cef6b5aa7238;p=tools%2Fsat_salome.git Fix nlopt 2.5.0 build - Target embedded swig instead of native one --- diff --git a/products/nlopt.pyconf b/products/nlopt.pyconf index b031195..0061808 100644 --- a/products/nlopt.pyconf +++ b/products/nlopt.pyconf @@ -34,7 +34,7 @@ default_win: version_2_5_0: { build_source : "cmake" - cmake_options : "-DBUILD_SHARED_LIBS:BOOL=ON -DNLOPT_MATLAB:BOOL=OFF -DNLOPT_OCTAVE:BOOL=OFF -DNLOPT_GUILE:BOOL=OFF" + cmake_options : "-DBUILD_SHARED_LIBS:BOOL=ON -DNLOPT_MATLAB:BOOL=OFF -DNLOPT_OCTAVE:BOOL=OFF -DNLOPT_GUILE:BOOL=OFF -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig" } version_2_5_0_win: