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 <romain.forlot@iot.bzh>
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