mirror of
https://github.com/gelldur/EventBus.git
synced 2024-12-27 12:21:02 +08:00
Update CPack and exclude /lib
This commit is contained in:
parent
d33292f820
commit
d0bb961c2b
@ -120,8 +120,9 @@ set(CPACK_PACKAGE_VENDOR "gelldur")
|
||||
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_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION
|
||||
"/usr/local"
|
||||
"/usr/local/include"
|
||||
"/usr/local/lib64"
|
||||
"${CMAKE_INSTALL_PREFIX}"
|
||||
"${CMAKE_INSTALL_PREFIX}/include"
|
||||
"${CMAKE_INSTALL_PREFIX}/lib64"
|
||||
"${CMAKE_INSTALL_PREFIX}/lib"
|
||||
)
|
||||
include(CPack)
|
Loading…
x
Reference in New Issue
Block a user