lidavidm commented on pull request #11889:
URL: https://github.com/apache/arrow/pull/11889#issuecomment-1060684323
This fixes it:
```diff
diff --git a/cpp/src/arrow/ArrowConfig.cmake.in
b/cpp/src/arrow/ArrowConfig.cmake.in
index e8d79c089..1f4ae96b1 100644
--- a/cpp/src/arrow/ArrowConfig.cmake.in
+++ b/cpp/src/arrow/ArrowConfig.cmake.in
@@ -80,7 +80,7 @@ if(NOT (TARGET arrow_shared OR TARGET arrow_static))
IMPORTED_LOCATION
"${arrow_lib_dir}/${CMAKE_STATIC_LIBRARY_PREFIX}arrow_bundled_dependencies${CMAKE_STATIC_LIBRARY_SUFFIX}"
INTERFACE_LINK_LIBRARIES
- ${ARROW_STATIC_INSTALL_INTERFACE_LIBS}
+ "${ARROW_STATIC_INSTALL_INTERFACE_LIBS}"
)
get_property(arrow_static_interface_link_libraries
TARGET arrow_static
```
Also if we change this, we don't need to list ssl, crypto, etc. in the
downstream package:
```diff
diff --git a/cpp/src/arrow/CMakeLists.txt b/cpp/src/arrow/CMakeLists.txt
index 403a4e39a..b206ba894 100644
--- a/cpp/src/arrow/CMakeLists.txt
+++ b/cpp/src/arrow/CMakeLists.txt
@@ -533,7 +533,7 @@ else()
set(ARROW_BUILD_BUNDLED_DEPENDENCIES FALSE)
endif()
-if(NOT ARROW_BUILD_BUNDLED_DEPENDENCIES)
+if(ARROW_BUILD_BUNDLED_DEPENDENCIES)
set(ARROW_STATIC_INSTALL_INTERFACE_LIBS_REAL
${ARROW_STATIC_INSTALL_INTERFACE_LIBS})
endif()
# Need -latomic on Raspbian.
```
But it finally works!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]