Skip to content

Commit 705f267

Browse files
committed
GH-47914: [C++] Fix system Apache ORC used detection
We need to use `orc_SOURCE` not `ORC_SOURCE`.
1 parent c72572e commit 705f267

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/src/arrow/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ 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()

0 commit comments

Comments
 (0)