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

Rok Mihevc updated ARROW-4660:
------------------------------
    External issue URL: https://github.com/apache/arrow/issues/21191

> [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: 50m
>  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
(v8.20.10#820010)

Reply via email to