You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2017/03/31 18:28:42 UTC
[jira] [Updated] (ARROW-747) [C++] Fix spurious warning caused by
passing dl to add_dependencies
[ https://issues.apache.org/jira/browse/ARROW-747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney updated ARROW-747:
-------------------------------
Summary: [C++] Fix spurious warning caused by passing dl to add_dependencies (was: [C++] Link correctly to libdl on Linux)
> [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
> 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
(v6.3.15#6346)