Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
eigenpy
Commits
9c84638f
Verified
Commit
9c84638f
authored
Nov 15, 2019
by
Justin Carpentier
Browse files
cmake: fix compilation issue on WIN32
parent
e51ea736
Changes
1
Show whitespace changes
Inline
Side-by-side
python/CMakeLists.txt
View file @
9c84638f
...
@@ -28,7 +28,9 @@ TARGET_LINK_LIBRARIES(${PYWRAP} ${PROJECT_NAME})
...
@@ -28,7 +28,9 @@ TARGET_LINK_LIBRARIES(${PYWRAP} ${PROJECT_NAME})
TARGET_LINK_BOOST_PYTHON
(
${
PYWRAP
}
)
TARGET_LINK_BOOST_PYTHON
(
${
PYWRAP
}
)
# BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS spews conversion warnings from int to long unsigned int.
# BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS spews conversion warnings from int to long unsigned int.
# Unfortunately, using literals does not work in a macro. As such, this turns them off for the entire wrapper:
# Unfortunately, using literals does not work in a macro. As such, this turns them off for the entire wrapper:
TARGET_COMPILE_OPTIONS
(
${
PYWRAP
}
PRIVATE
"-Wno-conversion"
)
IF
(
NOT WIN32
)
TARGET_COMPILE_OPTIONS
(
${
PYWRAP
}
PRIVATE
"-Wno-conversion"
)
ENDIF
()
#IF(BUILD_WITH_COMMIT_VERSION)
#IF(BUILD_WITH_COMMIT_VERSION)
# TAG_LIBRARY_VERSION(${PYWRAP})
# TAG_LIBRARY_VERSION(${PYWRAP})
#ENDIF(BUILD_WITH_COMMIT_VERSION)
#ENDIF(BUILD_WITH_COMMIT_VERSION)
...
...
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