diff --git a/conda-recipe/build.sh b/conda-recipe/build.sh index 5d14b487..91cc893f 100755 --- a/conda-recipe/build.sh +++ b/conda-recipe/build.sh @@ -61,7 +61,7 @@ cmake -S .. -B . \ -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="$SP_DIR" \ -DCMAKE_SWIG_OUTDIR="$SP_DIR" \ -DPython_ROOT_DIR="${PREFIX}/bin" \ - -DPYTHON_EXECUTABLE="${PYTHON}" + -DPython_EXECUTABLE="${PYTHON}" -G Ninja ninja install -j ${CPU_COUNT} cd ../../.. diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index a5e17725..1f513a28 100755 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -19,8 +19,9 @@ build: {% endfor %} requirements: + build: + - { { compiler('cxx') } } host: - - {{ compiler('cxx') }} - git - cmake - make # [not win]