GA: Set Python include and lib dir manually.
@@ -102,7 +102,7 @@ jobs:
- name: Configure CMake
shell: bash
working-directory: ${{runner.workspace}}/build
- run: cmake $GITHUB_WORKSPACE -A x64 -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DTINYSPLINE_ENABLE_PYTHON=True -DPython_ROOT_DIR="C:/Python$(echo ${{ matrix.python }} | cut -d'.' -f1-2 | tr -d '.')"
+ run: cmake $GITHUB_WORKSPACE -A x64 -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DTINYSPLINE_ENABLE_PYTHON=True -DPYTHON_INCLUDE_DIR=C:/Python$(echo ${{ matrix.python }} | cut -d'.' -f1-2 | tr -d '.')/include -DPYTHON_LIBRARY=C:/Python$(echo ${{ matrix.python }} | cut -d'.' -f1-2 | tr -d '.')/python$(echo ${{ matrix.python }} | head -c 1).dll
- name: Build
working-directory: ${{runner.workspace}}/build
