summaryrefslogtreecommitdiffstats
path: root/Modules/GenerateExportHeader.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/GenerateExportHeader.cmake')
-rw-r--r--Modules/GenerateExportHeader.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/GenerateExportHeader.cmake b/Modules/GenerateExportHeader.cmake
index 01a6e4f..9fdc783 100644
--- a/Modules/GenerateExportHeader.cmake
+++ b/Modules/GenerateExportHeader.cmake
@@ -453,3 +453,8 @@ function(add_compiler_export_flags)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" PARENT_SCOPE)
endif()
endfunction()
+
+# FIXME(#24994): The following module(s) are included only for compatibility
+# with projects that accidentally relied on them with CMake 3.26 and below.
+include(CheckCCompilerFlag)
+include(CheckCXXCompilerFlag)