]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Fix nlopt 2.5.0 build - Target embedded swig instead of native one
authorQuentin Cozette <quentin.cozette@cea.fr>
Wed, 7 Apr 2021 16:06:57 +0000 (18:06 +0200)
committerQuentin Cozette <quentin.cozette@cea.fr>
Wed, 7 Apr 2021 16:06:57 +0000 (18:06 +0200)
products/nlopt.pyconf

index b031195f63e5897b0add997035a10cd799a7ee12..00618088de2479713968d80438518f1c08b5272b 100644 (file)
@@ -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: