summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FPHSA/FindNameMismatchSuppressedCompat.cmake
blob: 791cfee5565f02a68e45b7cffa2d8f8fc9a15092 (plain)
1
2
3
4
5
6
set("${CMAKE_FIND_PACKAGE_NAME}_MODULE" "${CMAKE_CURRENT_LIST_FILE}")
include(FindPackageHandleStandardArgs)
set(FPHSA_NAME_MISMATCHED 1)
find_package_handle_standard_args(NAMEMISMATCH REQUIRED_VARS "${CMAKE_FIND_PACKAGE_NAME}_MODULE")
unset(FPHSA_NAME_MISMATCHED)
set("${CMAKE_FIND_PACKAGE_NAME}_FOUND" 1)