diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2013-06-02 19:42:10 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2013-06-02 20:18:19 (GMT) |
commit | cd4451d1e738a729a1a8d0ed34b544cada1de078 (patch) | |
tree | 099468fd2b338fd193ccf9dd5c1701245d3e1a1f /Modules/CMakeBackwardCompatibilityC.cmake | |
parent | a4d8c64d10105fd4448ffde6a5d2fb74c1bb4f57 (diff) | |
download | CMake-cd4451d1e738a729a1a8d0ed34b544cada1de078.zip CMake-cd4451d1e738a729a1a8d0ed34b544cada1de078.tar.gz CMake-cd4451d1e738a729a1a8d0ed34b544cada1de078.tar.bz2 |
replace string(... MATCHES "^const$) with string(... STREQUAL "const")
Diffstat (limited to 'Modules/CMakeBackwardCompatibilityC.cmake')
-rw-r--r-- | Modules/CMakeBackwardCompatibilityC.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeBackwardCompatibilityC.cmake b/Modules/CMakeBackwardCompatibilityC.cmake index e3b6c82..4783d68 100644 --- a/Modules/CMakeBackwardCompatibilityC.cmake +++ b/Modules/CMakeBackwardCompatibilityC.cmake @@ -55,7 +55,7 @@ if(NOT CMAKE_SKIP_COMPATIBILITY_TESTS) TEST_BIG_ENDIAN(CMAKE_WORDS_BIGENDIAN) include (FindX11) - if("${X11_X11_INCLUDE_PATH}" MATCHES "^/usr/include$") + if("${X11_X11_INCLUDE_PATH}" STREQUAL "/usr/include") set (CMAKE_X_CFLAGS "" CACHE STRING "X11 extra flags.") else() set (CMAKE_X_CFLAGS "-I${X11_X11_INCLUDE_PATH}" CACHE STRING |