summaryrefslogtreecommitdiff
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2024-06-12 14:46:15 +0000
committerliuxueli <[email protected]>2024-06-12 14:46:15 +0000
commitaaba41c67cdcbe80938dff2c504c4bc56c4a0590 (patch)
tree083fa4b61eefbcb49e7138e6f876e76effb90d6b /test/CMakeLists.txt
parent5ba9d3ce4afe9d43dfd2c1a7a011f1b1fdca184c (diff)
Feature: export dns_message_transaction_index_get and local stat
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 35c4e4b..bef97c4 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -1,4 +1,7 @@
-add_library(${PROJECT_NAME}_test_plug SHARED dns_decoder_test.cpp)
+include_directories(${PROJECT_SOURCE_DIR}/deps/)
+aux_source_directory(${PROJECT_SOURCE_DIR}/deps/toml DEPS_SRC)
+
+add_library(${PROJECT_NAME}_test_plug SHARED dns_decoder_test.cpp ${DEPS_SRC})
add_dependencies(${PROJECT_NAME}_test_plug ${PROJECT_NAME})
target_link_libraries(${PROJECT_NAME}_test_plug MESA_prof_load cjson)
set_target_properties(${PROJECT_NAME}_test_plug PROPERTIES PREFIX "")