Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-4660

[C++] gflags fails to build due to CMake error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • C++

    Description

      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.

      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)
      

      Attachments

        Issue Links

          Activity

            People

              kou Kouhei Sutou
              fsaintjacques Francois Saint-Jacques
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m