Files
Richard dadbb71492 include/find_package: Warn on case-mismatched module names
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
2026-05-28 08:57:59 -04:00

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()