Skip to content

Commit

Permalink
find virtual first
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelvinrr committed Jun 10, 2024
1 parent 5ab671b commit 6ec3c9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
run: |
mkdir -p build
cd build
sudo rm -rf /usr/bin/python*
cmake -DCMAKE_BUILD_TYPE=RELEASE -DSPICEQL_BUILD_DOCS=OFF -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX ..
cmake --build .
Expand Down Expand Up @@ -109,7 +108,7 @@ jobs:
- name: Configure CMake
working-directory: ${{github.workspace}}/build
run: sudo rm -rf /usr/bin/python* && cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSPICEQL_BUILD_LIB=OFF -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DSPICEQL_BUILD_LIB=OFF -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install
- name: Build
working-directory: ${{github.workspace}}/
# Execute the build.
Expand Down
1 change: 1 addition & 0 deletions bindings/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ include(UseSWIG)
list(APPEND CMAKE_SWIG_FLAGS "-py3;-DPY3;-keyword")

# Setup for Python linking
set(Python_FIND_VIRTUALENV FIRST)
find_package(Python3 REQUIRED COMPONENTS Interpreter Development)

# Setup for wrapper library
Expand Down

0 comments on commit 6ec3c9a

Please sign in to comment.