修复rpm打包失败的问题

Conflicts:
	CMakeLists.txt
This commit is contained in:
liuxueli
2020-09-07 18:16:23 +08:00
committed by yangwei
parent bafd63face
commit ab7f4edda1
2 changed files with 10 additions and 7 deletions

View File

@@ -69,6 +69,9 @@ install(CODE "execute_process( \
install(FILES inc/MESA_handle_logger.h DESTINATION
${CMAKE_INSTALL_PREFIX}/include/MESA COMPONENT devel)
install(TARGETS ${lib_name}_shared LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib COMPONENT LIBRARIES)
install(FILES inc/${lib_name}.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include/MESA COMPONENT HEADER)
add_executable(${lib_name}_demo demo/test_handle_logger.c)