ClickHouse/cmake/find_orc.cmake

16 lines
316 B
CMake
Raw Normal View History

2019-08-21 14:19:47 +00:00
##TODO replace hardcode to find procedure
set(USE_ORC 0)
set(USE_INTERNAL_ORC_LIBRARY ON)
if (ARROW_LIBRARY)
set(USE_ORC 1)
2019-09-05 16:13:25 +00:00
endif()
find_path(CYRUS_SASL_INCLUDE_DIR sasl/sasl.h)
find_library(CYRUS_SASL_SHARED_LIB sasl2)
if (NOT CYRUS_SASL_INCLUDE_DIR OR NOT CYRUS_SASL_SHARED_LIB)
set(USE_ORC 0)
endif()