From b76009bb5a3e99a4e4b2e1a347ee3fdab8a046f7 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 1 Nov 2024 22:58:29 +0100 Subject: [PATCH] CheckTypeSize: Document default language When LANGUAGE keyword is not provided default language for the check_type_size is C. --- Modules/CheckTypeSize.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/CheckTypeSize.cmake b/Modules/CheckTypeSize.cmake index ee54d92e2e..17fdde2913 100644 --- a/Modules/CheckTypeSize.cmake +++ b/Modules/CheckTypeSize.cmake @@ -54,6 +54,7 @@ Check sizeof a type ``LANGUAGE `` Use the ```` 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