diff --git a/.github/workflows/python-wheels-emulated.yml b/.github/workflows/python-wheels-emulated.yml index 00476ae4..74b90389 100644 --- a/.github/workflows/python-wheels-emulated.yml +++ b/.github/workflows/python-wheels-emulated.yml @@ -30,10 +30,12 @@ jobs: echo "Considering vtk-manylinux2014_`uname -m`.tar.gz..." && mkdir -p vtk && tar -xvzf vtk-manylinux2014_`uname -m`.tar.gz -C vtk/ && - if [ ! -d "vtk/lib" ]; then - ln -s vtk/lib64 vtk/lib + if [ -d "vtk/lib" ]; then + VTK_DIR=vtk/lib/cmake/vtk-9.2/ + else + VTK_DIR=vtk/lib64/cmake/vtk-9.2/ fi && - cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install -DEXTERNAL_EIGEN:BOOL=OFF -DPYTHON_WRAPPER:BOOL=OFF -DFORTRAN_WRAPPER:BOOL=OFF -DRUST_WRAPPER:BOOL=OFF -DUSE_VTK=ON -DVTK_DIR=vtk/lib/cmake/vtk-9.2/ -DMOORDYN_PACKAGE_IGNORE_VTK_DEPENDENCY=ON -DBUILD_TESTING=OFF && + cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install -DEXTERNAL_EIGEN:BOOL=OFF -DPYTHON_WRAPPER:BOOL=OFF -DFORTRAN_WRAPPER:BOOL=OFF -DRUST_WRAPPER:BOOL=OFF -DUSE_VTK=ON -DVTK_DIR=$VTK_DIR -DMOORDYN_PACKAGE_IGNORE_VTK_DEPENDENCY=ON -DBUILD_TESTING=OFF && cmake --build build --config Release && cmake --install build --config Release CIBW_BEFORE_ALL_WINDOWS: >