diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2015-03-12 21:13:05 +0000 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2015-03-12 23:54:28 +0000 |
commit | 94c0b7c82f212eb2b1605a058edfa7bfe4baa14a (patch) | |
tree | b2c2c00f665002c4f277b050559d724a5cb09142 /cmake | |
parent | 8aa26e0f12daee8bba856eb5e8a6c50cb0012d9e (diff) |
cmake: Use STREQUAL instead of MATCHES for checking CMAKE_SYSTEM_NAME.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Findprocps.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Findprocps.cmake b/cmake/Findprocps.cmake index dbf109b0..d73496d6 100644 --- a/cmake/Findprocps.cmake +++ b/cmake/Findprocps.cmake @@ -9,7 +9,7 @@ include (FindPackageMessage) -if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") +if (CMAKE_SYSTEM_NAME STREQUAL "Linux") find_path (procps_INCLUDE_DIR proc/readproc.h) find_library (procps_LIBRARY NAMES proc procps) if (procps_INCLUDE_DIR AND procps_LIBRARY) |