HDFS-10332. hdfs-native-client fails to build with CMake 2.8.11 or earlier. Contributed by Tibor Kiss

This commit is contained in:
James 2016-04-27 11:31:48 -04:00 committed by James Clampffer
parent cc51f2ce58
commit b9eeecc477

View File

@ -68,7 +68,7 @@ endif(DOXYGEN_FOUND)
function (copy_on_demand input_src_glob input_dest_dir) function (copy_on_demand input_src_glob input_dest_dir)
get_filename_component(src_glob ${input_src_glob} REALPATH) get_filename_component(src_glob ${input_src_glob} REALPATH)
get_filename_component(dest_dir ${input_dest_dir} REALPATH) get_filename_component(dest_dir ${input_dest_dir} REALPATH)
get_filename_component(src_dir ${src_glob} DIRECTORY) get_filename_component(src_dir ${src_glob} PATH)
message(STATUS "Syncing ${src_glob} to ${dest_dir}") message(STATUS "Syncing ${src_glob} to ${dest_dir}")
file(GLOB_RECURSE src_files ${src_glob}) file(GLOB_RECURSE src_files ${src_glob})