Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
0af7fe6c
"include/vscode:/vscode.git/clone" did not exist on "5257330e6add34a2139d0999520fe3f45df949e4"
Unverified
Commit
0af7fe6c
authored
Aug 08, 2020
by
Henry Schreiner
Committed by
GitHub
Aug 08, 2020
Browse files
fix: typo in pybind11_add_module (#2374)
parent
227170dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/pybind11Tools.cmake
tools/pybind11Tools.cmake
+1
-1
No files found.
tools/pybind11Tools.cmake
View file @
0af7fe6c
...
...
@@ -132,7 +132,7 @@ endfunction()
#
function
(
pybind11_add_module target_name
)
set
(
options MODULE SHARED EXCLUDE_FROM_ALL NO_EXTRAS SYSTEM THIN_LTO
)
cmake_parse_arguments
(
PARSE_ARGV
2
ARG
"
${
options
}
"
""
""
)
cmake_parse_arguments
(
PARSE_ARGV
1
ARG
"
${
options
}
"
""
""
)
if
(
ARG_MODULE AND ARG_SHARED
)
message
(
FATAL_ERROR
"Can't be both MODULE and SHARED"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment