You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Documentation build (e.g. "make htmldocs") reports a cmake warning:
VERSION keyword not followed by a value or was followed by a value that
expanded to nothing.
Doc build does complete successfully, so this is just an unexpected warning. Does something depend on the VERSION environment variable being set?
To Reproduce
~$ cmake --version
cmake version 3.13.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
~$ cd zephyr
~/zephyr$ source zephyr-env.sh
~/zephyr$ time make htmldocs
mkdir -p doc/_build && cmake -GNinja -DDOC_TAG=development -DSPHINXOPTS=-q -Bdoc/_build -Hdoc/ && ninja -C doc/_build htmldocs
CMake Warning at CMakeLists.txt:2 (project):
VERSION keyword not followed by a value or was followed by a value that
expanded to nothing.
Environment (please complete the following information):
OS: Ubuntu 18.04.1 LTS
The text was updated successfully, but these errors were encountered:
The 'doc' build has been invoking 'project' with the argument "VERSION
${PROJECT_VERSION}". This is cargo-cult code inherited from the
toplevel build system.
This can be safely removed because in the doc build the versioning
variables that are set by 'project' are unused and PROJECT_VERSION is
not available to be de-referenced at that point in time any way ...
This fixeszephyrproject-rtos#12282
Signed-off-by: Sebastian Bøe <[email protected]>
The 'doc' build has been invoking 'project' with the argument "VERSION
${PROJECT_VERSION}". This is cargo-cult code inherited from the
toplevel build system.
This can be safely removed because in the doc build the versioning
variables that are set by 'project' are unused and PROJECT_VERSION is
not available to be de-referenced at that point in time any way ...
This fixes#12282
Signed-off-by: Sebastian Bøe <[email protected]>
Describe the bug
Documentation build (e.g. "make htmldocs") reports a cmake warning:
Doc build does complete successfully, so this is just an unexpected warning. Does something depend on the VERSION environment variable being set?
To Reproduce
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: