mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 00:56:31 +08:00
Fix header install option
Change-Id: I194f7c1e56074cb816a57147d18f23f15e64dc8e
This commit is contained in:
1 parent
f899bdd993
commit
a84643d6ee
1 file changed
+4
-2
@@ -575,9 +575,11 @@ endfunction()
|
||||
###################################################
|
||||
|
||||
function(ARROW_INSTALL_ALL_HEADERS PATH)
|
||||
set(options)
|
||||
set(one_value_args)
|
||||
set(multi_value_args PATTERN)
|
||||
cmake_parse_arguments(ARG "" "" "${multi_value_args}" ${ARGN})
|
||||
if (NOT ${ARG_PATTERN})
|
||||
cmake_parse_arguments(ARG "${options}" "${one_value_args}" "${multi_value_args}" ${ARGN})
|
||||
if (NOT ARG_PATTERN)
|
||||
set(ARG_PATTERN "*.h")
|
||||
endif()
|
||||
file(GLOB_RECURSE CURRENT_DIRECTORY_HEADERS ${ARG_PATTERN})
|
||||
|
||||
Reference in new issue
Block a user