Update CPack and exclude /lib

This commit is contained in:
Aang23 2019-04-09 22:23:09 +02:00 committed by Dawid Drozd
parent f45b106dab
commit a8669fddc8

View File

@ -120,8 +120,9 @@ set(CPACK_PACKAGE_VENDOR "gelldur")
set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}) set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}") set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}")
set(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION set(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION
"/usr/local" "${CMAKE_INSTALL_PREFIX}"
"/usr/local/include" "${CMAKE_INSTALL_PREFIX}/include"
"/usr/local/lib64" "${CMAKE_INSTALL_PREFIX}/lib64"
"${CMAKE_INSTALL_PREFIX}/lib"
) )
include(CPack) include(CPack)