"cmake.d/02-variables.cmake" checks "HOMEPAGE_URL" but when not found, the warning complains about PROJECT_URL not being set.
I guess HOMEPAGE_URL is wrong in the following section, (most of the projects use PROJECT_URL):
{{if(NOT HOMEPAGE_URL)}} {{ {{ message(WARNING "${Red}No homepage url found. Please set a PROJECT_URL cmake variable in your config.cmake.")}}}} {{ endif()}}
Environment
Native Linux Environment, installed AGL OBS Packages.
Activity
Show:
Walt Miner
July 9, 2019 at 4:52 PM
Close for HH RC2
Romain Forlot
June 27, 2019 at 12:49 PM
Indeed there is a problem about this variable. A mistape was done when testing the variable existence.
I fixed the issue and submitted to review. Thanks for the report
Tobias Jahnke
June 26, 2019 at 6:14 AM
You can reproduce the following warning also with "helloworld-service" compiling on your native linux environment.
CMake Warning at /usr/share/cmake/Modules/CMakeAfbTemplates/cmake/cmake.d/02-variables.cmake:98 (message): {{ No homepage url found. Please set a PROJECT_URL cmake variable in}} {{ your config.cmake.}} Call Stack (most recent call first): {{ /usr/share/cmake/Modules/CMakeAfbTemplates/cmake/common.cmake:101 (include)}} {{ /usr/share/cmake/Modules/CMakeAfbTemplates.cmake:19 (include)}} {{ conf.d/cmake/config.cmake:183 (include)}} {{ CMakeLists.txt:3 (include)}}
"cmake.d/02-variables.cmake" checks "HOMEPAGE_URL" but when not found, the warning complains about PROJECT_URL not being set.
I guess HOMEPAGE_URL is wrong in the following section, (most of the projects use PROJECT_URL):
{{if(NOT HOMEPAGE_URL)
}}{{ {{ message(WARNING "${Red}No homepage url found. Please set a PROJECT_URL cmake variable in your config.cmake.")}}}}
{{
endif()
}}