summaryrefslogtreecommitdiff
path: root/cmake/Package.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Package.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 f81ce3c..9d54190 100644
--- a/cmake/Package.cmake
+++ b/cmake/Package.cmake
@@ -1,7 +1,7 @@
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
- set(CPACK_PACKAGE_NAME "packetadapter-debug")
+ set(CPACK_PACKAGE_NAME "packet_adapter-debug")
else()
- set(CPACK_PACKAGE_NAME "packetadapter")
+ set(CPACK_PACKAGE_NAME "packet_adapter")
endif()
message(STATUS "Package: ${CPACK_PACKAGE_NAME}")
@@ -25,9 +25,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 "packetadapter")
+ set(CPACK_RPM_PACKAGE_CONFLICTS "packet_adapter")
else()
- set(CPACK_RPM_PACKAGE_CONFLICTS "packetadapter-debug")
+ set(CPACK_RPM_PACKAGE_CONFLICTS "packet_adapter-debug")
endif()
include(CPack) \ No newline at end of file