Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
pinocchio
Commits
cf46d38f
Verified
Commit
cf46d38f
authored
Oct 04, 2020
by
Justin Carpentier
Browse files
cmake: fix Wno-conversion for Windows
parent
a5eff590
Changes
1
Hide whitespace changes
Inline
Side-by-side
bindings/python/CMakeLists.txt
View file @
cf46d38f
...
...
@@ -103,7 +103,9 @@ IF(BUILD_PYTHON_INTERFACE)
# Do not report:
# -Wconversion as the BOOST_PYTHON_FUNCTION_OVERLOADS implicitly converts.
# -Wcomment as latex equations have multi-line comments.
TARGET_COMPILE_OPTIONS
(
${
PYWRAP
}
PRIVATE -Wno-conversion -Wno-comment
)
IF
(
NOT WIN32
)
TARGET_COMPILE_OPTIONS
(
${
PYWRAP
}
PRIVATE -Wno-conversion -Wno-comment
)
ENDIF
(
NOT WIN32
)
SET_TARGET_PROPERTIES
(
${
PYWRAP
}
PROPERTIES VERSION
${
PROJECT_VERSION
}
)
IF
(
BUILD_WITH_COMMIT_VERSION
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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