[
https://issues.apache.org/jira/browse/ARROW-747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17657779#comment-17657779
]
Rok Mihevc commented on ARROW-747:
----------------------------------
This issue has been migrated to [issue
#16363|https://github.com/apache/arrow/issues/16363] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [C++] Fix spurious warning caused by passing dl to add_dependencies
> -------------------------------------------------------------------
>
> Key: ARROW-747
> URL: https://issues.apache.org/jira/browse/ARROW-747
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Wes McKinney
> Assignee: Wes McKinney
> Priority: Major
> Fix For: 0.3.0
>
>
> There is a potentially confusing warning from arrow/io on Linux:
> {code}
> -- Configuring done
> CMake Warning (dev) at cmake_modules/BuildUtils.cmake:98 (add_dependencies):
> Policy CMP0046 is not set: Error on non-existent dependency in
> add_dependencies. Run "cmake --help-policy CMP0046" for policy details.
> Use the cmake_policy command to set the policy and suppress this warning.
> The dependency target "dl" of target "arrow_io_objlib" does not exist.
> Call Stack (most recent call first):
> src/arrow/io/CMakeLists.txt:85 (ADD_ARROW_LIB)
> This warning is for project developers. Use -Wno-dev to suppress it.
> -- Generating done
> -- Build files have been written to: /home/wesm/code/arrow/cpp/test-build
> {code}
> I believe you may need to link to libdl on OS X
--
This message was sent by Atlassian Jira
(v8.20.10#820010)