We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d805a86 commit 1e5afe2Copy full SHA for 1e5afe2
1 file changed
CMakeLists.txt
@@ -32,4 +32,8 @@ FetchContent_MakeAvailable(fpcap)
32
pybind11_add_module(_fpcap src/bindings.cpp)
33
target_link_libraries(_fpcap PRIVATE fpcap::fpcap)
34
35
+# Disable MSVC C++20 module scanning (we don't use C++ modules and the scanner
36
+# fails on Windows because it lacks platform architecture defines)
37
+set_target_properties(_fpcap PROPERTIES CXX_SCAN_FOR_MODULES OFF)
38
+
39
install(TARGETS _fpcap LIBRARY DESTINATION .)
0 commit comments