Skip to content

Commit f19b357

Browse files
committed
Do not include the whole 3rdparty folder, only link in what we need
1 parent d1a030b commit f19b357

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ else()
5555

5656
endif()
5757

58-
target_link_libraries(behaviortree_cpp_test ${BTCPP_LIBRARY} bt_sample_nodes foonathan::lexy)
59-
target_include_directories(behaviortree_cpp_test PRIVATE include ${PROJECT_SOURCE_DIR}/3rdparty)
58+
target_include_directories(behaviortree_cpp_test PRIVATE include)
59+
target_link_libraries(behaviortree_cpp_test ${BTCPP_LIBRARY} bt_sample_nodes foonathan::lexy wildcards::wildcards)
6060
target_compile_definitions(behaviortree_cpp_test PRIVATE BT_TEST_FOLDER="${CMAKE_CURRENT_SOURCE_DIR}")

0 commit comments

Comments
 (0)