summaryrefslogtreecommitdiffstats
path: root/Modules/FindTCL.cmake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2019-12-09 14:27:30 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-01-14 22:25:49 (GMT)
commitbe4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959 (patch)
tree21aa9d2293c10d4cfff53b971c49768cf8a95589 /Modules/FindTCL.cmake
parentee4673c1ae1e4a1aa4687412717567c2ffbb501b (diff)
downloadCMake-be4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959.zip
CMake-be4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959.tar.gz
CMake-be4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959.tar.bz2
FPHSA: acknowledge the name mismatches in CMake-owned modules
Diffstat (limited to 'Modules/FindTCL.cmake')
-rw-r--r--Modules/FindTCL.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindTCL.cmake b/Modules/FindTCL.cmake
index be47c39..960265f 100644
--- a/Modules/FindTCL.cmake
+++ b/Modules/FindTCL.cmake
@@ -224,12 +224,14 @@ find_path(TK_INCLUDE_PATH
include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TCL DEFAULT_MSG TCL_LIBRARY TCL_INCLUDE_PATH)
+set(FPHSA_NAME_MISMATCHED 1)
set(TCLTK_FIND_REQUIRED ${TCL_FIND_REQUIRED})
set(TCLTK_FIND_QUIETLY ${TCL_FIND_QUIETLY})
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TCLTK DEFAULT_MSG TCL_LIBRARY TCL_INCLUDE_PATH TK_LIBRARY TK_INCLUDE_PATH)
set(TK_FIND_REQUIRED ${TCL_FIND_REQUIRED})
set(TK_FIND_QUIETLY ${TCL_FIND_QUIETLY})
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TK DEFAULT_MSG TK_LIBRARY TK_INCLUDE_PATH)
+unset(FPHSA_NAME_MISMATCHED)
mark_as_advanced(
TCL_INCLUDE_PATH