diff --git a/cmake/projects/nlohmann-json/hunter.cmake b/cmake/projects/nlohmann-json/hunter.cmake index a5c9e2df7b..301cc74a88 100644 --- a/cmake/projects/nlohmann-json/hunter.cmake +++ b/cmake/projects/nlohmann-json/hunter.cmake @@ -1,6 +1,7 @@ # !!! DO NOT PLACE HEADER GUARDS HERE !!! include(hunter_add_version) +include(hunter_cacheable) include(hunter_cmake_args) include(hunter_download) include(hunter_pick_scheme) @@ -9,7 +10,7 @@ hunter_add_version( PACKAGE_NAME nlohmann-json VERSION "1.0.0-rc1-hunter-2" URL "https://github.com/hunter-packages/json/archive/v1.0.0-rc1-hunter-2.tar.gz" - SHA1 2db824ca17678c8918575bbab982e6ae93283433 + SHA1 2db824ca17678c8918575bbab982e6ae93283433 ) hunter_add_version( @@ -22,4 +23,5 @@ hunter_add_version( hunter_cmake_args(nlohmann-json CMAKE_ARGS JSON_BUILD_TESTS=OFF) hunter_pick_scheme(DEFAULT url_sha1_cmake) +hunter_cacheable(nlohmann-json) hunter_download(PACKAGE_NAME nlohmann-json)