mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Detect when the requested module name differs in case from the module filename on disk. Emit an author warning on Windows and Apple platforms, where case-insensitive lookup can hide portability problems on case-sensitive filesystems. Fixes: #27811
7 lines
186 B
CMake
7 lines
186 B
CMake
list(PREPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/CaseMismatch")
|
|
include(casemodule)
|
|
|
|
if(NOT case_module_included)
|
|
message(FATAL_ERROR "CaseModule.cmake not included")
|
|
endif()
|