diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QtProcessConfigureArgs.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtProcessConfigureArgs.cmake b/cmake/QtProcessConfigureArgs.cmake index 038905ece7..3c730d9444 100644 --- a/cmake/QtProcessConfigureArgs.cmake +++ b/cmake/QtProcessConfigureArgs.cmake @@ -564,7 +564,7 @@ while(1) endif() # Handle variable assignments - if(arg MATCHES "^([a-zA-Z0-9_-]+)=(.*)") + if(arg MATCHES "^([a-zA-Z0-9_][a-zA-Z0-9_-]*)=(.*)") list(APPEND cmake_var_assignments "${arg}") continue() endif() |