aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-06-29 01:40:32 +0200
committerRonan Le Martret <ronan.lemartret@iot.bzh>2017-06-29 11:32:13 +0200
commit3e30ff523d1f55f68f66d41ddff29a309abdfa45 (patch)
treedf9961b22919cde181d178e73f929c91e370a48e /cmake
parenta46489d23a351e0061b6d809190b30f57b990d0d (diff)
Fix deb packaging naming
Change-Id: I8355dee83379c6c24e02104913fad5dcdebd95f0 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'cmake')
-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})