Salome HOME
spns #29988: support Fedora 36
[tools/sat_salome.git] / products / nlopt.pyconf
index 336664ac8823e2c052791cd13c56068b4e7fe0ca..70fe00db6179b3b6c7ca4bde454f0a227a0a694a 100644 (file)
@@ -8,7 +8,7 @@ default :
     {
        env_script : $name + ".py"
     }
-    depend : ['Python']
+    depend : ['Python', 'numpy'] # numpy mandatory otherwise no python API is generated
     build_depend : ["cmake", "swig"]
     patches : []
     source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
@@ -23,10 +23,14 @@ default :
 
 default_win:
 {
-   depend : ['Python']
    properties :
    {
      incremental : "yes"
      single_install_dir : "yes"
    }
 }
+
+version_2_5_0:
+{
+    compil_script :  "nlopt-2.5.0" + $VARS.scriptExtension
+}