mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-23 23:18:38 -06:00
CheckTypeSize: Document default language
When LANGUAGE keyword is not provided default language for the check_type_size is C.
This commit is contained in:
@@ -54,6 +54,7 @@ Check sizeof a type
|
||||
``LANGUAGE <language>``
|
||||
Use the ``<language>`` compiler to perform the check.
|
||||
Acceptable values are ``C`` and ``CXX``.
|
||||
If not specified, it defaults to ``C``.
|
||||
|
||||
Despite the name of the macro you may use it to check the size of more
|
||||
complex expressions, too. To check e.g. for the size of a struct
|
||||
|
||||
Reference in New Issue
Block a user