This is an automated email from the ASF dual-hosted git repository.

ptaylor pushed a commit to branch fix/39619
in repository https://gitbox.apache.org/repos/asf/arrow.git

commit a3202b5f52b95d0efb2fcbfb78c84811bf28b779
Author: Paul Taylor <178183+trxcl...@users.noreply.github.com>
AuthorDate: Thu Jan 25 09:30:04 2024 -0800

    GH-39778: [C++] Define ARROW_ENABLE_THREADING
    
    This PR ensures `-DARROW_ENABLE_THREADING` (added in 
https://github.com/apache/arrow/pull/35672) is defined in the compile strings.
    
    Fixes https://github.com/apache/arrow/issues/39619
---
 cpp/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index 016cd8a1b9..f20d1b6918 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -959,6 +959,7 @@ endif()
 set(ARROW_SYSTEM_LINK_LIBS)
 
 if(ARROW_ENABLE_THREADING)
+  add_definitions(-DARROW_ENABLE_THREADING)
   list(APPEND ARROW_SYSTEM_LINK_LIBS Threads::Threads)
 endif()
 if(CMAKE_THREAD_LIBS_INIT)

Reply via email to