|
|
@@ -71,11 +71,13 @@
|
|
|
include(CheckIncludeFile)
|
|
|
include(CheckIncludeFileCXX)
|
|
|
|
|
|
+get_filename_component(__check_type_size_dir "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
|
+
|
|
|
+include_guard(GLOBAL)
|
|
|
+
|
|
|
cmake_policy(PUSH)
|
|
|
cmake_policy(SET CMP0054 NEW)
|
|
|
|
|
|
-get_filename_component(__check_type_size_dir "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
|
-
|
|
|
#-----------------------------------------------------------------------------
|
|
|
# Helper function. DO NOT CALL DIRECTLY.
|
|
|
function(__check_type_size_impl type var map builtin language)
|