From 038e190871fb6a62661a5f410ae41778a407002d Mon Sep 17 00:00:00 2001 From: Fred Suter Date: Mon, 16 Sep 2024 01:15:37 -0400 Subject: [PATCH] find nlohmann_json --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index db4fa3b..c212f20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,10 @@ project(dtlmod VERSION 0.1 DESCRIPTION "Data Transport Layer Module") include(GNUInstallDirs) find_package(SimGrid 3.35.1 REQUIRED) find_package(FSMod REQUIRED) -find_package(nlohmann_json REQUIRED) +find_package(nlohmann_json REQUIRED + CONFIG + PATHS "/usr/lib/cmake/" +) include_directories( ${CMAKE_SOURCE_DIR}/include