Skip to content

Commit 01444ff

Browse files
juansblancoczoido
andauthored
Fix info on CMAKE_SYSTEM_VERSION for Apple systems (#3755)
* add cmake_system_version note * Update reference/tools/cmake/cmaketoolchain.rst --------- Co-authored-by: Carlos Zoido <mrgalleta@gmail.com>
1 parent bf16eb2 commit 01444ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/tools/cmake/cmaketoolchain.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ variables:
565565
cross-building if Android systems (that is managed by other blocks), and not 64bits to
566566
32bits builds in x86_64, sparc and ppc systems.
567567
- ``CMAKE_SYSTEM_VERSION``: ``tools.cmake.cmaketoolchain:system_version`` conf if defined, otherwise
568-
``os.version`` subsetting (host) when defined
568+
``os.version`` subsetting (host) when defined. On Apple systems, this ``os.version`` is converted to the corresponding Darwin version.
569569
- ``CMAKE_SYSTEM_PROCESSOR``: ``tools.cmake.cmaketoolchain:system_processor`` conf if defined, otherwise
570570
``arch`` setting (host) if defined
571571

0 commit comments

Comments
 (0)