We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 424588b commit c3c0688Copy full SHA for c3c0688
2 files changed
.github/workflows/build.yml
@@ -58,6 +58,10 @@ jobs:
58
sudo apt update
59
sudo apt install -y build-essential gcc g++ cmake
60
61
+ - name: Set up MSVC (Windows)
62
+ if: matrix.os == 'windows-latest'
63
+ uses: ilammy/msvc-dev-cmd@v1
64
+
65
- name: Build and install
66
run: |
67
pip install . pytest
CMakeLists.txt
@@ -10,6 +10,9 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
10
11
include(FetchContent)
12
13
+# Use CMake's FindPython (not pybind11's legacy compatibility mode)
14
+set(PYBIND11_FINDPYTHON ON)
15
16
# --- Fetch pybind11 ---
17
FetchContent_Declare(
18
pybind11
0 commit comments