Oops, we use this regex (or regexes) to instruct the RPM building

process which files NOT to scan for dependencies.
This commit is contained in:
casey langen 2022-02-15 20:06:48 -08:00
parent 16d9f8f167
commit 222fa992bb

View File

@ -73,7 +73,7 @@ if (${GENERATE_DEB} MATCHES "true" AND CMAKE_SYSTEM_NAME MATCHES "Linux")
set(CPACK_RPM_PACKAGE_ARCHITECTURE, ${DEB_ARCHITECTURE})
set(CPACK_RPM_PACKAGE_URL "https://www.musikcube.com")
set(CPACK_RPM_PACKAGE_VERSION "${musikcube_VERSION_MAJOR}.${musikcube_VERSION_MINOR}.${musikcube_VERSION_PATCH}")
set(CPACK_RPM_REQUIRES_EXCLUDE_FROM "libboost_.*" "libmusikcore.so" "libncursesw.*" "libpanelw.*" "libtinfo.*")
set(CPACK_RPM_REQUIRES_EXCLUDE_FROM "^/.*$")
include(CPack)
endif()