diff options
author | Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com> | 2022-09-21 17:19:45 (GMT) |
---|---|---|
committer | Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com> | 2022-09-21 17:19:45 (GMT) |
commit | df377a22dd2d805ddf9e59f405482934a5a932d2 (patch) | |
tree | 4d1de368ef8bc233b1fe0970820f8607b4ebb94e /Modules | |
parent | fc17277bdad832e45991de60090c8688b60855fa (diff) | |
download | CMake-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.cmake | 2 |
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() |