Skip to content

Commit

Permalink
[misc] Disable warnings when build SOUP. (#378)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexis Duburcq <alexis.duburcq@wandercraft.eu>
  • Loading branch information
duburcqa and Alexis Duburcq authored Jul 12, 2021
1 parent 305a11b commit ad413b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
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

0 comments on commit ad413b0

Please sign in to comment.