mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 13:50:10 -05:00
Merge topic 'fix-CMAKE_PROJECT_COMPAT_VERSION-doc'
1105932871 Help: Fix CMAKE_PROJECT_COMPAT_VERSION documentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10876
This commit is contained in:
@@ -29,7 +29,7 @@ And ``sub/CMakeLists.txt`` with the following contents:
|
||||
.. code-block:: cmake
|
||||
|
||||
project(SubProj VERSION 2.0 COMPAT_VERSION 1.0)
|
||||
message("CMAKE_PROJECT_VERSION = ${CMAKE_PROJECT_VERSION}")
|
||||
message("CMAKE_PROJECT_COMPAT_VERSION = ${CMAKE_PROJECT_COMPAT_VERSION}")
|
||||
|
||||
The most recently seen :command:`project` command from the top level
|
||||
CMakeLists.txt would be ``project(Second ...)``, so this will print::
|
||||
|
||||
Reference in New Issue
Block a user