Skip to content

Commit

Permalink
Fix Bullet cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
gleichdick committed May 26, 2021
1 parent d0b64d6 commit b33eaca
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test_tf2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ find_package(tf2_ros REQUIRED)

ament_find_gtest()

find_package(PkgConfig REQUIRED)
pkg_check_modules(bullet REQUIRED bullet)
include_directories(include ${bullet_INCLUDE_DIRS})
if(WIN32)
set(BULLET_ROOT $ENV{ChocolateyInstall}/lib/bullet)
endif()
find_package(Bullet REQUIRED)
include_directories(include ${BULLET_INCLUDE_DIRS})

ament_add_gtest(buffer_core_test test/buffer_core_test.cpp)
if(TARGET buffer_core_test)
Expand Down

0 comments on commit b33eaca

Please sign in to comment.