Remove Python3_EXECUTABLE

This commit is contained in:
olszomal 2024-11-05 13:50:45 +01:00 committed by Michał Trojnara
parent 8780e6f8e4
commit 6a43f62835

View File

@ -177,8 +177,7 @@ jobs:
-B "${{ github.workspace }}/build" \
-DCMAKE_OSX_ARCHITECTURES=arm64 \
-DCMAKE_BUILD_TYPE="${{ env.BUILD_TYPE }}" \
-DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/dist" \
-DPython3_EXECUTABLE="${{ github.workspace }}/venv/bin/python"
-DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/dist"
- name: Configure CMake (Windows)
if: runner.os == 'Windows'
@ -188,10 +187,8 @@ jobs:
-G "${{ matrix.generator }}" `
-S "${{ github.workspace }}" `
-B "${{ github.workspace }}/build" `
-DCMAKE_OSX_ARCHITECTURES=arm64 `
-DCMAKE_BUILD_TYPE="${{ env.BUILD_TYPE }}" `
-DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/dist" `
-DPython3_EXECUTABLE="${{ github.workspace }}\venv\Scripts\python.exe"
-DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/dist"
- name: Build
run: cmake