HDFS-14950. fix missing libhdfspp lib in dist-package (#1947)
libhdfspp.{a,so} are missed in dist-package. This patch fixed this by copying these libs to the right directory Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
This commit is contained in:
parent
05b3337a46
commit
e756fe3590
@ -265,6 +265,7 @@ if (HADOOP_BUILD)
|
|||||||
${CMAKE_THREAD_LIBS_INIT}
|
${CMAKE_THREAD_LIBS_INIT}
|
||||||
)
|
)
|
||||||
set_target_properties(hdfspp PROPERTIES SOVERSION ${LIBHDFSPP_VERSION})
|
set_target_properties(hdfspp PROPERTIES SOVERSION ${LIBHDFSPP_VERSION})
|
||||||
|
hadoop_dual_output_directory(hdfspp ${OUT_DIR})
|
||||||
else (HADOOP_BUILD)
|
else (HADOOP_BUILD)
|
||||||
add_library(hdfspp_static STATIC ${EMPTY_FILE_CC} ${LIBHDFSPP_ALL_OBJECTS})
|
add_library(hdfspp_static STATIC ${EMPTY_FILE_CC} ${LIBHDFSPP_ALL_OBJECTS})
|
||||||
target_link_libraries(hdfspp_static
|
target_link_libraries(hdfspp_static
|
||||||
|
Loading…
Reference in New Issue
Block a user