Skip to content

Commit

Permalink
Always check for the openhrp and hrpsys-base packages
Browse files Browse the repository at this point in the history
  • Loading branch information
gergondet committed Aug 16, 2023
1 parent 103bf96 commit 9e1d0d0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions cnoid/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
find_package(PkgConfig)

# openhrp3.1
if(NOT DEFINED OPENHRP3_1_PREFIX)
pkg_check_modules(OPENHRP3_1 REQUIRED openhrp3.1)
endif()
pkg_check_modules(OPENHRP3_1 REQUIRED openhrp3.1)
message("-- OPENHRP3_1_PREFIX: ${OPENHRP3_1_PREFIX}")

# hrpsys-base
if(NOT DEFINED HRPSYSBASE_PREFIX)
pkg_check_modules(HRPSYSBASE REQUIRED hrpsys-base)
endif()
pkg_check_modules(HRPSYSBASE REQUIRED hrpsys-base)
message("-- HRPSYSBASE_PREFIX: ${HRPSYSBASE_PREFIX}")

# choreonoid
Expand Down

0 comments on commit 9e1d0d0

Please sign in to comment.