diff --git a/thirdparty/internal_deps.cmake b/thirdparty/internal_deps.cmake index 44f0446..891f24e 100644 --- a/thirdparty/internal_deps.cmake +++ b/thirdparty/internal_deps.cmake @@ -52,6 +52,7 @@ FetchContent_MakeAvailable(rapidjson) find_package(RapidJSON REQUIRED PATHS "${rapidjson_BINARY_DIR}" + NO_CMAKE_FIND_ROOT_PATH NO_DEFAULT_PATH) add_library(RapidJson INTERFACE)