mirror of
https://github.com/nlohmann/json
synced 2024-11-26 22:00:07 +00:00
🔨 fixed benchmark compilation
This commit is contained in:
parent
0258484626
commit
f5c03999d0
@ -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 .)
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "benchmark/benchmark.h"
|
||||
#include "json.hpp"
|
||||
#include <nlohmann/json.hpp>
|
||||
#include <fstream>
|
||||
|
||||
using json = nlohmann::json;
|
||||
|
Loading…
Reference in New Issue
Block a user