From a237aeace98498cbb6ea8a83b6cee29383492d4b Mon Sep 17 00:00:00 2001 From: Dave Solares <50599569+PolygonalSun@users.noreply.github.com> Date: Thu, 10 Jun 2021 14:38:46 -0700 Subject: [PATCH] Force udpate for RapidJSON_DIR value (#80) --- External/RapidJSON/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/External/RapidJSON/CMakeLists.txt b/External/RapidJSON/CMakeLists.txt index f070fec..47ee2bd 100644 --- a/External/RapidJSON/CMakeLists.txt +++ b/External/RapidJSON/CMakeLists.txt @@ -27,7 +27,7 @@ add_subdirectory(${CMAKE_BINARY_DIR}/RapidJSON-src EXCLUDE_FROM_ALL) # Set the RapidJSONConfig.cmake path and make find_package to work in config mode explicitly. -set(RapidJSON_DIR "${CMAKE_BINARY_DIR}/RapidJSON-build" CACHE LOCATION "Specific configuration file location") +set(RapidJSON_DIR "${CMAKE_BINARY_DIR}/RapidJSON-build" CACHE LOCATION "Specific configuration file location" FORCE) find_package(RapidJSON REQUIRED CONFIG) add_library(RapidJSON INTERFACE IMPORTED GLOBAL)