Fix: wrong variable name tested
Change-Id: I03dfb603c1c30b1935356699e45b1f82bc1f63c8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
endmacro(wgt_package_build)
macro(rpm_package_build)
- if(NOT EXISTS ${PROJECT_RPM_DIR}/config.spec.in)
- MESSAGE(STATUS "Missing mandatory files: you need config.spec.in in ${PROJECT_RPM_DIR} folder.")
+ if(NOT EXISTS ${TEMPLATE_RPM_DIR}/config.spec.in)
+ MESSAGE(STATUS "Missing mandatory files: you need config.spec.in in ${TEMPLATE_RPM_DIR} folder.")
else()
# extract PROJECT_PKG_DEPS and replace ; by , for RPM spec file
get_property(PROJECT_PKG_DEPS GLOBAL PROPERTY PROJECT_PKG_DEPS)