Skip to content

Commit

Permalink
Merge pull request #93 from diegoferigo/fix/ci-ignition-cmake
Browse files Browse the repository at this point in the history
Search only required CMake components of ignition-physics
  • Loading branch information
diegoferigo committed Oct 30, 2019
2 parents c140129 + fe35d97 commit 960a856
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/Physics/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Physics PLUGIN
# ==============

find_package(ignition-physics1 COMPONENTS all REQUIRED)
find_package(ignition-physics1 COMPONENTS dartsim REQUIRED)

add_library(PhysicsSystem SHARED
Physics.h
Expand All @@ -15,7 +15,7 @@ add_library(PhysicsSystem SHARED
target_link_libraries(PhysicsSystem
PUBLIC
ignition-gazebo2::core
ignition-physics1::ignition-physics1-all
ignition-physics1
PRIVATE
ExtraComponents)

Expand Down

0 comments on commit 960a856

Please sign in to comment.