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 227170d commit 0af7fe6Copy full SHA for 0af7fe6
tools/pybind11Tools.cmake
@@ -132,7 +132,7 @@ endfunction()
132
#
133
function(pybind11_add_module target_name)
134
set(options MODULE SHARED EXCLUDE_FROM_ALL NO_EXTRAS SYSTEM THIN_LTO)
135
- cmake_parse_arguments(PARSE_ARGV 2 ARG "${options}" "" "")
+ cmake_parse_arguments(PARSE_ARGV 1 ARG "${options}" "" "")
136
137
if(ARG_MODULE AND ARG_SHARED)
138
message(FATAL_ERROR "Can't be both MODULE and SHARED")
0 commit comments