summaryrefslogtreecommitdiffstats
path: root/default
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-24 15:10:10 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-24 15:10:10 +0200
commit49a8bc0e3d6407a52d3c30e69fa899291c5d9631 (patch)
treef03ff7ac9c1b2245963e3992a34a64a8f9d2fd95 /default
parent1e995820bf39f8df634e066249fd74cd5a32d4bd (diff)
Fix: rpm spec file not configured.
Fix: wrong variable name tested Change-Id: I03dfb603c1c30b1935356699e45b1f82bc1f63c8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'default')
-rw-r--r--default/cmake/common.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/default/cmake/common.cmake b/default/cmake/common.cmake
index 4a8bd23..e1ed51b 100644
--- a/default/cmake/common.cmake
+++ b/default/cmake/common.cmake
@@ -201,8 +201,8 @@ macro(wgt_package_build)
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)