Francois Saint-Jacques created ARROW-4660: ---------------------------------------------
Summary: [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 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)