Skip to content

Commit e6ed709

Browse files
committed
Implement #404 to solve #435 (gtest not found)
1 parent 589942e commit e6ed709

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,9 @@ elseif( CATKIN_DEVEL_PREFIX OR CATKIN_BUILD_BINARY_PACKAGE)
121121

122122
list(APPEND BEHAVIOR_TREE_PUBLIC_LIBRARIES ${catkin_LIBRARIES})
123123
set(BUILD_TOOL_INCLUDE_DIRS ${catkin_INCLUDE_DIRS})
124+
endif()
124125

125-
elseif(BTCPP_UNIT_TESTS)
126+
if(BTCPP_UNIT_TESTS)
126127
if(${CMAKE_VERSION} VERSION_LESS "3.11.0")
127128
find_package(GTest REQUIRED)
128129
else()

0 commit comments

Comments
 (0)