Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[misc] Disable warnings when build SOUP. #378

Merged
merged 1 commit into from
Jul 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ else()
message(STATUS "Found urdfdom")
endif()
find_package(pinocchio 2.5.6 REQUIRED NO_MODULE NO_CMAKE_SYSTEM_PATH) # Pinocchio v2.5.6 fixes 'aba' overwritting 'data.a_gf'
find_package(hpp-fcl 1.5.4 REQUIRED NO_MODULE NO_CMAKE_SYSTEM_PATH) # hpp-fcl >= 1.5.4 adds support of collision of primitives with halfspace
find_package(hpp-fcl 1.7.1 REQUIRED NO_MODULE NO_CMAKE_SYSTEM_PATH) # hpp-fcl >= 1.7.1 adds collision geometry pointers
find_package(Eigen3 3.3.0 REQUIRED NO_MODULE) # It adds the target Eigen3::Eigen

# Pinocchio-specific stuffs
Expand Down
5 changes: 3 additions & 2 deletions soup/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Import external project utilities
include(ExternalProject)

# Set the compilation flags
set(CMAKE_COMPILE_FLAGS_EXTERNAL "${CMAKE_CXX_FLAGS_RELEASE}")
# Set the compilation flags.
# Use the same flags than jiminy itself, but disable all warnings.
set(CMAKE_COMPILE_FLAGS_EXTERNAL "${CMAKE_CXX_FLAGS_RELEASE} -w")

# Set fake credential
set(GIT_CREDENTIAL_EXTERNAL user.name=cmake;user.email=external.project@cmake.com)
Expand Down