Commit b6f61ab0 authored by Andreas Schuh's avatar Andreas Schuh

Fix bugs in package configuration file.

parent 26a35dd2
...@@ -19,7 +19,7 @@ if (CPACK_GENERATOR MATCHES "PackageMaker|DragNDrop") ...@@ -19,7 +19,7 @@ if (CPACK_GENERATOR MATCHES "PackageMaker|DragNDrop")
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Debian package # Debian package
elseif ("^${CPACK_GENERATOR}$" STREQUAL "DEB") elseif (CPACK_GENERATOR MATCHES "DEB")
set (CPACK_PACKAGE_FILE_NAME "lib${CPACK_PACKAGE_NAME}") set (CPACK_PACKAGE_FILE_NAME "lib${CPACK_PACKAGE_NAME}")
if (DEVEL) if (DEVEL)
...@@ -43,7 +43,7 @@ elseif ("^${CPACK_GENERATOR}$" STREQUAL "DEB") ...@@ -43,7 +43,7 @@ elseif ("^${CPACK_GENERATOR}$" STREQUAL "DEB")
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# RPM package # RPM package
elseif ("^${CPACK_GENERATOR}$" STREQUAL "RPM") elseif (CPACK_GENERATOR MATCHES "RPM")
set (CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}") set (CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}")
if (DEVEL) if (DEVEL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment