We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a7b129 commit dff6fa0Copy full SHA for dff6fa0
tools/pybind11Common.cmake
@@ -96,7 +96,7 @@ if(MSVC) # That's also clang-cl
96
set_property(
97
TARGET pybind11::windows_extras
98
APPEND
99
- PROPERTY INTERFACE_COMPILE_OPTIONS /bigobj)
+ PROPERTY INTERFACE_COMPILE_OPTIONS $<$<COMPILE_LANGUAGE:CXX>:/bigobj>)
100
101
# /MP enables multithreaded builds (relevant when there are many files) for MSVC
102
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") # no Clang no Intel
0 commit comments