GitHub user kou added a comment to the discussion: Why do pkgconfig files exist without corresponding CMake modules?
We can't provide meaningful CMake target for `ArrowCSV` and so on because they don't need additional libraries nor build flags. We can provide `ArrowCSVConfig.cmake` and define the following useless CMake target in `ArrowCSVConfig.cmake`: ```cmake find_dependency(Arrow) if(ARROW_BUILD_SHARED) add_library(Arrow::arrow_csv_shared INTERFACE IMPORTED) target_link_libraries(Arrow::arrow_csv_shared INTERFACE Arrow::arrow_shared) endif() if(ARROW_BUILD_STATIC) add_library(Arrow::arrow_csv_static INTERFACE IMPORTED) target_link_libraries(Arrow::arrow_csv_static INTERFACE Arrow::arrow_static) endif() ``` I don't have a strong opinion which approach is better. We can provide one of them or both of them. GitHub link: https://github.com/apache/arrow/discussions/48158#discussioncomment-15017601 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
