diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 29aa394..8239925 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,9 @@ include_directories(${LIBBSONCXX_INCLUDE_DIR}) find_package(Pistache REQUIRED) include_directories(${Pistache_INCLUDE_DIR}) +find_package(nlohmann_json REQUIRED) +include_directories(${JSON_INCLUDE_DIR}) + #find_package(Boost) find_package(Threads) @@ -39,7 +42,8 @@ endif(NOT JSONC_FOUND) #add_executable(umosapi test.cpp) -add_executable(umosapi umosapi.cpp) + +add_executable(umosapi umosapi.cpp shared.h) set_property(TARGET umosapi PROPERTY CXX_STANDARD 17) |