diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2014-04-11 16:36:08 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2014-04-14 16:17:23 (GMT) |
commit | 7eacbaed4db3c3fe5d6c0e3a31e239530a7468f1 (patch) | |
tree | 16947f9574c69cfa8bdd18decad649ff41adc69f /Modules/FeatureSummary.cmake | |
parent | 3a71d34cf3a10ee215ae3899acafd29551ba6e7e (diff) | |
download | CMake-7eacbaed4db3c3fe5d6c0e3a31e239530a7468f1.zip CMake-7eacbaed4db3c3fe5d6c0e3a31e239530a7468f1.tar.gz CMake-7eacbaed4db3c3fe5d6c0e3a31e239530a7468f1.tar.bz2 |
Replace MATCHES ".+" tests with NOT STREQUAL ""
Diffstat (limited to 'Modules/FeatureSummary.cmake')
-rw-r--r-- | Modules/FeatureSummary.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FeatureSummary.cmake b/Modules/FeatureSummary.cmake index a72954c..12ea384 100644 --- a/Modules/FeatureSummary.cmake +++ b/Modules/FeatureSummary.cmake @@ -546,10 +546,10 @@ function(SET_PACKAGE_INFO _name _desc) set(_url "${ARGV2}") set(_purpose "${ARGV3}") set_property(GLOBAL PROPERTY _CMAKE_${_name}_DESCRIPTION "${_desc}" ) - if(_url MATCHES ".+") + if(NOT _url STREQUAL "") set_property(GLOBAL PROPERTY _CMAKE_${_name}_URL "${_url}" ) endif() - if(_purpose MATCHES ".+") + if(NOT _purpose STREQUAL "") set_property(GLOBAL APPEND PROPERTY _CMAKE_${_name}_PURPOSE "${_purpose}" ) endif() endfunction() |