From f5c03999d0cb3b423cf17c789c912fa97115347a Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Thu, 1 Feb 2018 22:26:26 +0100 Subject: [PATCH] :hammer: fixed benchmark compilation --- benchmarks/CMakeLists.txt | 2 +- benchmarks/src/benchmarks.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmarks/CMakeLists.txt b/benchmarks/CMakeLists.txt index f614978e2..c10d44e96 100644 --- a/benchmarks/CMakeLists.txt +++ b/benchmarks/CMakeLists.txt @@ -12,7 +12,7 @@ add_subdirectory(thirdparty/benchmark) # header directories include_directories(thirdparty) -include_directories(${CMAKE_SOURCE_DIR}/src) +include_directories(${CMAKE_SOURCE_DIR}/../single_include) # copy test files to build folder file(COPY ${CMAKE_SOURCE_DIR}/data DESTINATION .) diff --git a/benchmarks/src/benchmarks.cpp b/benchmarks/src/benchmarks.cpp index 6dd470d39..bebef603f 100644 --- a/benchmarks/src/benchmarks.cpp +++ b/benchmarks/src/benchmarks.cpp @@ -1,5 +1,5 @@ #include "benchmark/benchmark.h" -#include "json.hpp" +#include #include using json = nlohmann::json;