diff options
| author | yangwei <[email protected]> | 2023-11-10 16:14:34 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2023-11-10 16:34:04 +0800 |
| commit | c531caa1cf56605242da3365fef07935c64bf2b7 (patch) | |
| tree | 31837e2f1f5501645e057c7d007db58f27b5c72e /cmake/Package.cmake | |
| parent | 2b47c81e973920245e1f21acbe0d35111e5acbe1 (diff) | |
🐎 ci(add gitlab ci): init add gitlab-ci.yml
Diffstat (limited to 'cmake/Package.cmake')
| -rw-r--r-- | cmake/Package.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Package.cmake b/cmake/Package.cmake index a409f72..b6265e3 100644 --- a/cmake/Package.cmake +++ b/cmake/Package.cmake @@ -27,9 +27,9 @@ set(CPACK_RPM_PRE_UNINSTALL_SCRIPT_FILE ${CMAKE_SOURCE_DIR}/cmake/PreUninstall.i # Must uninstall the debug package before install release package if(CMAKE_BUILD_TYPE STREQUAL "Debug") - set(CPACK_RPM_PACKAGE_CONFLICTS "stellar") + set(CPACK_RPM_PACKAGE_CONFLICTS ${PROJECT_NAME}) else() - set(CPACK_RPM_PACKAGE_CONFLICTS "stellar-debug") + set(CPACK_RPM_PACKAGE_CONFLICTS "${PROJECT_NAME}-debug") endif() # Setup %config(noreplace) |
