X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=cmake%2Fcmake.d%2F03-macros.cmake;h=207e85a96da2a6968f41be32c3fff44397175604;hb=dc4debf13f6653163ea969ec57945edd9545c748;hp=2de89f3507e6fc8a182446eaf125355366396f5d;hpb=0487d4437607155c619bcb662aac3fd32a101824;p=apps%2Fapp-templates.git diff --git a/cmake/cmake.d/03-macros.cmake b/cmake/cmake.d/03-macros.cmake index 2de89f3..207e85a 100644 --- a/cmake/cmake.d/03-macros.cmake +++ b/cmake/cmake.d/03-macros.cmake @@ -536,14 +536,14 @@ macro(project_closing_msg) 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() - 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}