diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake index 498b2bc04272..dd1e5da15ea6 100644 --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake @@ -2851,9 +2851,7 @@ if(ARROW_WITH_SIMDJSON) FORCE_ANY_NEWER_VERSION TRUE REQUIRED_VERSION - ${ARROW_SIMDJSON_REQUIRED_VERSION} - IS_RUNTIME_DEPENDENCY - FALSE) + ${ARROW_SIMDJSON_REQUIRED_VERSION}) if(SIMDJSON_VENDORED) add_library(arrow::simdjson ALIAS simdjson) else() diff --git a/cpp/src/arrow/CMakeLists.txt b/cpp/src/arrow/CMakeLists.txt index 7211bf5476dc..b79e45d144ac 100644 --- a/cpp/src/arrow/CMakeLists.txt +++ b/cpp/src/arrow/CMakeLists.txt @@ -1045,7 +1045,7 @@ if(ARROW_JSON) json/parser.cc json/reader.cc) foreach(ARROW_JSON_TARGET ${ARROW_JSON_TARGETS}) - target_link_libraries(${ARROW_JSON_TARGET} PRIVATE RapidJSON arrow::simdjson) + target_link_libraries(${ARROW_JSON_TARGET} PRIVATE RapidJSON simdjson::simdjson) endforeach() else() set(ARROW_JSON_TARGET_SHARED)