From: Romain Forlot Date: Fri, 6 Jul 2018 08:40:37 +0000 (+0200) Subject: Fix:: wrong wgt using RELEASE BUILD TYPE X-Git-Tag: 5.99.2~6 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=08803561c89dd761a26e6a236829c5141056c969;hp=eec9f0771c7574b3969831952cb5b6f54c576856;p=apps%2Fapp-templates.git Fix:: wrong wgt using RELEASE BUILD TYPE The wgt filename is suffixed with the build type except for RELEASE build type. In this case, the name wasn't set. This fix this issue. Change-Id: I5a0be07c5f380676ba9ecfdd1b51ebab95aca3dd Signed-off-by: Romain Forlot --- diff --git a/cmake/cmake.d/03-macros.cmake b/cmake/cmake.d/03-macros.cmake index 710682c..085c249 100644 --- a/cmake/cmake.d/03-macros.cmake +++ b/cmake/cmake.d/03-macros.cmake @@ -442,6 +442,8 @@ macro(wgt_package_build) if(NOT ${CMAKE_BUILD_TYPE} STREQUAL "RELEASE") string(TOLOWER "${PROJECT_NAME}-${CMAKE_BUILD_TYPE}" WGT_NAME) + else() + string(TOLOWER "${PROJECT_NAME}" WGT_NAME) endif() add_custom_command(OUTPUT ${PROJECT_PKG_BUILD_DIR}/config.xml