summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lookup/CMakeLists.txt4
-rw-r--r--tests/storage/CMakeLists.txt4
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/lookup/CMakeLists.txt b/tests/lookup/CMakeLists.txt
index 9bd2608..ff6e7fc 100644
--- a/tests/lookup/CMakeLists.txt
+++ b/tests/lookup/CMakeLists.txt
@@ -1,3 +1,5 @@
+include_directories(..)
+
add_executable(
test_simple_lookup
test_simple_lookup.cpp
@@ -16,4 +18,4 @@ add_executable(
target_link_libraries(
test_phrase_lookup
libpinyin
-) \ No newline at end of file
+)
diff --git a/tests/storage/CMakeLists.txt b/tests/storage/CMakeLists.txt
index 4c96046..2f50a28 100644
--- a/tests/storage/CMakeLists.txt
+++ b/tests/storage/CMakeLists.txt
@@ -1,3 +1,5 @@
+include_directories(..)
+
add_executable(
test_parser
test_parser.cpp
@@ -56,4 +58,4 @@ add_executable(
target_link_libraries(
test_flexible_ngram
libpinyin
-) \ No newline at end of file
+)