summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
e40a854)
Change-Id: Ifbe95bbcb7f192ec9e84c26a73dc260926360b37
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
endmacro()
macro(check_version)
endmacro()
macro(check_version)
- if(${GIT_PROJECT_VERSION})
+ if(GIT_PROJECT_VERSION)
if(${GIT_PROJECT_VERSION} VERSION_GREATER ${APP_TEMPLATES_VERSION})
message(STATUS "${Yellow}.. Your app-templates submodule version seems outdated. You should update it with 'git submodule update --remote ${PROJECT_APP_TEMPLATES_DIR}'.
- App-templates version: ${APP_TEMPLATES_VERSION}
- Project version according AGL Git tag: ${GIT_PROJECT_VERSION}"
)
endif()
if(${GIT_PROJECT_VERSION} VERSION_GREATER ${APP_TEMPLATES_VERSION})
message(STATUS "${Yellow}.. Your app-templates submodule version seems outdated. You should update it with 'git submodule update --remote ${PROJECT_APP_TEMPLATES_DIR}'.
- App-templates version: ${APP_TEMPLATES_VERSION}
- Project version according AGL Git tag: ${GIT_PROJECT_VERSION}"
)
endif()
- elseif(${PROJECT_VERSION})
+ elseif(PROJECT_VERSION)
if(${PROJECT_VERSION} VERSION_GREATER ${APP_TEMPLATES_VERSION})
message(STATUS "${Yellow}.. Your app-templates submodule version seems outdated. You should update it with 'git submodule update --remote ${PROJECT_APP_TEMPLATES_DIR}'.
- App-templates version: ${APP_TEMPLATES_VERSION}
if(${PROJECT_VERSION} VERSION_GREATER ${APP_TEMPLATES_VERSION})
message(STATUS "${Yellow}.. Your app-templates submodule version seems outdated. You should update it with 'git submodule update --remote ${PROJECT_APP_TEMPLATES_DIR}'.
- App-templates version: ${APP_TEMPLATES_VERSION}