summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-06-29 01:40:32 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:47 +0200
commitcede676724399dc755e9b8b984166cc48f0b35ca (patch)
tree735403848e52afe0c2e11e65245d6b070dcaae10
parent4b5bb2eac863a7b90abc4d3a38f52e121be2d667 (diff)
Fix deb packaging naming
Change-Id: I8355dee83379c6c24e02104913fad5dcdebd95f0 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
-rw-r--r--cmake/cmake.d/01-variables.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/cmake.d/01-variables.cmake b/cmake/cmake.d/01-variables.cmake
index 764fc93..356ffb8 100644
--- a/cmake/cmake.d/01-variables.cmake
+++ b/cmake/cmake.d/01-variables.cmake
@@ -50,6 +50,8 @@ set(PKG_CONFIG_USE_CMAKE_PREFIX_PATH ON CACHE BOOLEAN "Flag for using prefix pat
# Native packaging name
set(NPKG_PROJECT_NAME agl-${PROJECT_NAME})
+#No upercase in deb packaging name
+string(TOLOWER ${NPKG_PROJECT_NAME} NPKG_PROJECT_NAME)
set(CMAKE_BUILD_TYPE Debug CACHE STRING "the type of build")
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
@@ -131,4 +133,4 @@ if(OSRELEASE MATCHES "debian" AND NOT DEFINED ENV{SDKTARGETSYSROOT})
set(PACKAGING_DEB_OUTPUT_COMPAT ${PROJECT_PKG_ENTRY_POINT}/debian.compat)
set(PACKAGING_DEB_OUTPUT_CONTROL ${PROJECT_PKG_ENTRY_POINT}/debian.control)
set(PACKAGING_DEB_OUTPUT_RULES ${PROJECT_PKG_ENTRY_POINT}/debian.rules)
-endif(OSRELEASE MATCHES "debian" AND NOT DEFINED ENV{SDKTARGETSYSROOT}) \ No newline at end of file
+endif(OSRELEASE MATCHES "debian" AND NOT DEFINED ENV{SDKTARGETSYSROOT})