zfoobar opened a new issue, #34841: URL: https://github.com/apache/arrow/issues/34841
### Describe the enhancement requested On a Mac M1 the suggested CMake configuration here did not work: https://arrow.apache.org/docs/cpp/build_system.html Here is the patch. You're already aware of the cxx_std_17 bug - but it should be reflected in the docs for consistency. Curious - as I haven't tried this on Linux yet - why did I have to change Arrow::arrow_shared to arrow? Are you expecting the user has a cmake module in the environment already that aliases this? --- foobar 2023-04-01 20:45:00 +++ CMakeLists.txt 2023-04-01 20:03:36 @@ -1,6 +1,10 @@ -project(MyExample) +project(compute_and_write_csv_example) find_package(Arrow REQUIRED) -add_executable(my_example my_example.cc) -target_link_libraries(my_example PRIVATE Arrow::arrow_shared) +add_executable(compute_and_write_csv_example compute_and_write_csv_example.cc) + +target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_17) + +target_link_libraries(compute_and_write_csv_example PRIVATE arrow) +#target_link_libraries(compute_and_write_csv_example PRIVATE Arrow::arrow_shared) ### Component(s) C++ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
