Skip to content

Commit 603901a

Browse files
authored
GH-47914: [C++] Fix system Apache ORC/Google logging used detection (#47915)
### Rationale for this change We need to use `orc_SOURCE` not `ORC_SOURCE` for Apache ORC and `glog_SOURCE` not `GLOG_SOURCE` for Google logging. ### What changes are included in this PR? Fix referred variable names. ### Are these changes tested? Yes in apache/arrow-java#865 . ### Are there any user-facing changes? Yes. * GitHub Issue: #47914 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]>
1 parent 8dd9eba commit 603901a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/src/arrow/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ if(ARROW_WITH_ZSTD)
8080
endif()
8181

8282
if(ARROW_ORC)
83-
if(ORC_SOURCE STREQUAL "SYSTEM")
83+
if(orc_SOURCE STREQUAL "SYSTEM")
8484
list(APPEND ARROW_STATIC_INSTALL_INTERFACE_LIBS orc::orc)
8585
endif()
8686
endif()
8787

8888
if(ARROW_USE_GLOG)
89-
if(GLOG_SOURCE STREQUAL "SYSTEM")
89+
if(glog_SOURCE STREQUAL "SYSTEM")
9090
list(APPEND ARROW_STATIC_INSTALL_INTERFACE_LIBS glog::glog)
9191
endif()
9292
endif()

0 commit comments

Comments
 (0)