more cleanup in pkg info

This commit is contained in:
Ruixiang Du
2020-08-16 18:24:48 +08:00
parent b53a80eca3
commit 75b93c49b9
3 changed files with 5 additions and 22 deletions

View File

@@ -1,15 +0,0 @@
# Dependency libraries
#find_package(LIBRARY_NAME REQUIRED)
add_subdirectory(googletest)
## Unit tests with GoogleTest
set(GTEST_SRC
gtests/scout_can_protocol_test.cpp
)
add_executable(wrp_sdk_test ${GTEST_SRC})
target_link_libraries(wrp_sdk_test gtest gtest_main wrp_sdk)
target_include_directories(wrp_sdk_test PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<BUILD_INTERFACE:${GTEST_INCLUDE_DIRS}>
$<INSTALL_INTERFACE:include>)