Skip to content

Commit 2336d26

Browse files
authored
Merge pull request #1320 from k-okada/revert_5fb77b
run add_subdirectory(test) only when CATKIN_ENABLE_TSETING
2 parents 41f853a + 1fa297a commit 2336d26

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@ if (NOT QNXNTO)
206206
add_subdirectory(util)
207207
endif()
208208
add_subdirectory(sample)
209+
if(CATKIN_ENABLE_TESTING)
210+
add_subdirectory(test)
211+
endif()
209212

210213
#if catkin environment
211214
string(REGEX MATCH "catkin" need_catkin "$ENV{_}")

0 commit comments

Comments
 (0)