aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/benchmarks
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-10-17 18:38:17 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-10-17 18:38:17 +0300
commit6cce85b3a34a4a27d678abf0b4c005a38afd1738 (patch)
treef0c699f6f92b59e7e6613a30c8dd0e3ce3585540 /test/benchmarks
parentupdate cmake-common (diff)
downloadmath-server-6cce85b3a34a4a27d678abf0b4c005a38afd1738.tar.gz
math-server-6cce85b3a34a4a27d678abf0b4c005a38afd1738.zip
cmake: no more target_include_directories hacks
Diffstat (limited to 'test/benchmarks')
-rw-r--r--test/benchmarks/CMakeLists.txt1
-rw-r--r--test/benchmarks/lexer.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/test/benchmarks/CMakeLists.txt b/test/benchmarks/CMakeLists.txt
index 09566cc..340dbcc 100644
--- a/test/benchmarks/CMakeLists.txt
+++ b/test/benchmarks/CMakeLists.txt
@@ -3,7 +3,6 @@ add_executable(benchmarks ${benchmarks_cpp})
set_target_properties(benchmarks PROPERTIES OUTPUT_NAME math-server-benchmarks)
target_link_libraries(benchmarks PRIVATE lexer)
-target_include_directories(benchmarks PRIVATE ../..)
target_link_libraries(benchmarks PRIVATE benchmark benchmark_main)
diff --git a/test/benchmarks/lexer.cpp b/test/benchmarks/lexer.cpp
index 5b0612f..f4ee457 100644
--- a/test/benchmarks/lexer.cpp
+++ b/test/benchmarks/lexer.cpp
@@ -3,7 +3,7 @@
// For details, see https://github.com/egor-tensin/math-server.
// Distributed under the MIT License.
-#include <server/lexer/details/parse.hpp>
+#include <lexer/details/parse.hpp>
#include <benchmark/benchmark.h>