From 94c0b7c82f212eb2b1605a058edfa7bfe4baa14a Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Thu, 12 Mar 2015 21:13:05 +0000 Subject: cmake: Use STREQUAL instead of MATCHES for checking CMAKE_SYSTEM_NAME. --- cmake/Findprocps.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') 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) -- cgit v1.2.3