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 2019/02/25 20:34:00 UTC

[jira] [Resolved] (ARROW-4660) [C++] gflags fails to build due to CMake error

     [ https://issues.apache.org/jira/browse/ARROW-4660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes McKinney resolved ARROW-4660.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 0.13.0

Issue resolved by pull request 3737
[https://github.com/apache/arrow/pull/3737]

> [C++] gflags fails to build due to CMake error
> ----------------------------------------------
>
>                 Key: ARROW-4660
>                 URL: https://issues.apache.org/jira/browse/ARROW-4660
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 0.13.0
>            Reporter: Francois Saint-Jacques
>            Assignee: Kouhei Sutou
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.13.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> gflags fails to build as a thirdparty download on linux and cmake 3.10.2. Removing the line `target_compile_definitions(${GFLAGS_LIBRARY} INTERFACE "GFLAGS_IS_A_DLL=0")` makes it build without issue.
> {code}
> CMake Error at cmake_modules/ThirdpartyToolchain.cmake:658 (target_compile_definitions):
> Cannot specify compile definitions for imported target "gflags_static".
> Call Stack (most recent call first):
> CMakeLists.txt:506 (include)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)