summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2023-06-12 10:49:35 +0800
committerluwenpeng <[email protected]>2023-06-12 14:17:05 +0800
commit61233aac971d1acb37d323ed47f5c62341d64ce7 (patch)
tree1ac47dfd0fd64653d845030087597cd9096fa2c5 /cmake
parentb836a3bf91398b61342748957ffc495dfb997985 (diff)
TSG-15458 基于Sentinel LDK的C API检查软锁/硬锁的授权是否有效v1.0.2-20230612release-1.0
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Package.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmake/Package.cmake b/cmake/Package.cmake
index 916aff1..dcba12e 100644
--- a/cmake/Package.cmake
+++ b/cmake/Package.cmake
@@ -1,7 +1,7 @@
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
- set(CPACK_PACKAGE_NAME "hasp_update-debug")
+ set(CPACK_PACKAGE_NAME "hasp-tools-debug")
else()
- set(CPACK_PACKAGE_NAME "hasp_update")
+ set(CPACK_PACKAGE_NAME "hasp-tools")
endif()
message(STATUS "Package: ${CPACK_PACKAGE_NAME}")
@@ -22,9 +22,9 @@ set(CPACK_RPM_DEBUGINFO_PACKAGE on)
# Must uninstall the debug package before install release package
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
- set(CPACK_RPM_PACKAGE_CONFLICTS "hasp_update")
+ set(CPACK_RPM_PACKAGE_CONFLICTS "hasp-tools")
else()
- set(CPACK_RPM_PACKAGE_CONFLICTS "hasp_update-debug")
+ set(CPACK_RPM_PACKAGE_CONFLICTS "hasp-tools-debug")
endif()
include(CPack) \ No newline at end of file