summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>2022-09-21 17:19:45 (GMT)
committerVicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>2022-09-21 17:19:45 (GMT)
commitdf377a22dd2d805ddf9e59f405482934a5a932d2 (patch)
tree4d1de368ef8bc233b1fe0970820f8607b4ebb94e /Modules
parentfc17277bdad832e45991de60090c8688b60855fa (diff)
downloadCMake-df377a22dd2d805ddf9e59f405482934a5a932d2.zip
CMake-df377a22dd2d805ddf9e59f405482934a5a932d2.tar.gz
CMake-df377a22dd2d805ddf9e59f405482934a5a932d2.tar.bz2
CMakeDependentOption: allow in depends the use of .
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeDependentOption.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDependentOption.cmake b/Modules/CMakeDependentOption.cmake
index ac0e262..9a3c940 100644
--- a/Modules/CMakeDependentOption.cmake
+++ b/Modules/CMakeDependentOption.cmake
@@ -84,7 +84,7 @@ macro(CMAKE_DEPENDENT_OPTION option doc default depends force)
else()
set(${option} "${${option}_ISSET}")
endif()
- if("x${_CDO_CMP0127}x" STREQUAL "xx" AND "x${depends}x" MATCHES "[^A-Za-z0-9_; ]")
+ if("x${_CDO_CMP0127}x" STREQUAL "xx" AND "x${depends}x" MATCHES "[^A-Za-z0-9_.; ]")
cmake_policy(GET_WARNING CMP0127 _CDO_CMP0127_WARNING)
message(AUTHOR_WARNING "${_CDO_CMP0127_WARNING}")
endif()