summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineASMCompiler.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2014-04-11 16:36:08 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2014-04-14 16:17:23 (GMT)
commit7eacbaed4db3c3fe5d6c0e3a31e239530a7468f1 (patch)
tree16947f9574c69cfa8bdd18decad649ff41adc69f /Modules/CMakeDetermineASMCompiler.cmake
parent3a71d34cf3a10ee215ae3899acafd29551ba6e7e (diff)
downloadCMake-7eacbaed4db3c3fe5d6c0e3a31e239530a7468f1.zip
CMake-7eacbaed4db3c3fe5d6c0e3a31e239530a7468f1.tar.gz
CMake-7eacbaed4db3c3fe5d6c0e3a31e239530a7468f1.tar.bz2
Replace MATCHES ".+" tests with NOT STREQUAL ""
Diffstat (limited to 'Modules/CMakeDetermineASMCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineASMCompiler.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineASMCompiler.cmake b/Modules/CMakeDetermineASMCompiler.cmake
index 1d9617f..25af3e3 100644
--- a/Modules/CMakeDetermineASMCompiler.cmake
+++ b/Modules/CMakeDetermineASMCompiler.cmake
@@ -18,7 +18,7 @@ include(${CMAKE_ROOT}/Modules/CMakeDetermineCompiler.cmake)
if(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER)
# prefer the environment variable ASM
- if($ENV{ASM${ASM_DIALECT}} MATCHES ".+")
+ if(NOT $ENV{ASM${ASM_DIALECT}} STREQUAL "")
set(CMAKE_ASM${ASM_DIALECT}_COMPILER_INIT "$ENV{ASM${ASM_DIALECT}}")
endif()