From b1c3e39db4e1e12c8d9f35749ea89d788c54aa48 Mon Sep 17 00:00:00 2001 From: Growl Date: Sun, 9 Aug 2026 12:38:32 +0800 Subject: [PATCH] CMake: Fix RapidJSON target for non-MPI builds --- source/source_io/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/source_io/CMakeLists.txt b/source/source_io/CMakeLists.txt index ddd5c56f1a..028d89bc05 100644 --- a/source/source_io/CMakeLists.txt +++ b/source/source_io/CMakeLists.txt @@ -152,7 +152,5 @@ if(BUILD_TESTING) endif() if(ENABLE_RAPIDJSON) - if(ENABLE_MPI) - add_subdirectory(module_json) - endif() + add_subdirectory(module_json) endif()