From ddddd3655eba4fe7b8f615224d980ad06ba14dd6 Mon Sep 17 00:00:00 2001
From: Riccardo Maria Bianchi <riccardo.maria.bianchi@cern.ch>
Date: Mon, 10 Feb 2020 06:32:04 +0100
Subject: [PATCH] Clean external package name

---
 JSONParser/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/JSONParser/CMakeLists.txt b/JSONParser/CMakeLists.txt
index f9d7939..b9ba6e2 100644
--- a/JSONParser/CMakeLists.txt
+++ b/JSONParser/CMakeLists.txt
@@ -24,7 +24,7 @@ file( GLOB HEADERS JSONParser/*.h )
 add_library( JSONParser SHARED ${HEADERS} ${SOURCES} )
 set_property( TARGET JSONParser
    PROPERTY PUBLIC_HEADER ${HEADERS} )
-if( NLOHMANN_JSON_FOUND )
+if( nlohmann_json_FOUND )
   target_link_libraries( JSONParser PUBLIC nlohmann_json::nlohmann_json GeoModelCore::GeoModelKernel )
 else()
   message(STATUS "'nlohmann_json' not found by CMake!! Anyway, if you installed the single header file in a standard system include dir, I will be able to use it.")
-- 
GitLab