[jira] [Created] (ARROW-4065) arrowTargets.cmake is broken
Kousuke Saruta created ARROW-4065:
Summary: arrowTargets.cmake is broken
Project: Apache Arrow
Issue Type: Bug
Affects Versions: 0.12.0
Reporter: Kousuke Saruta
Assignee: Kousuke Saruta
When we build Arrow's cpp library using CMake, arrowTargets.cmake will be generated and installed but it's broken.
The following is a part of arrowTargets.cmake generated.
# Create imported target arrow_shared
add_library(arrow_shared SHARED IMPORTED)
# Create imported target arrow_static
add_library(arrow_static STATIC IMPORTED)
There are no INTERFACE_INCLUDE_DIRECTORIES and linker doesn't recognize pthreadshared because the true name of pthread lib should be libpthread.so or libpthread.a.
*_static and *_shared are also wrong name.
Because of this, apps which links arrow can't be built using CMake.
This message was sent by Atlassian JIRA