Skip to content

Commit

Permalink
Implement #404 to solve #435 (gtest not found)
Browse files Browse the repository at this point in the history
  • Loading branch information
facontidavide committed Nov 22, 2022
1 parent 589942e commit e6ed709
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@ elseif( CATKIN_DEVEL_PREFIX OR CATKIN_BUILD_BINARY_PACKAGE)

list(APPEND BEHAVIOR_TREE_PUBLIC_LIBRARIES ${catkin_LIBRARIES})
set(BUILD_TOOL_INCLUDE_DIRS ${catkin_INCLUDE_DIRS})
endif()

elseif(BTCPP_UNIT_TESTS)
if(BTCPP_UNIT_TESTS)
if(${CMAKE_VERSION} VERSION_LESS "3.11.0")
find_package(GTest REQUIRED)
else()
Expand Down

0 comments on commit e6ed709

Please sign in to comment.