From: Kefu Chai Date: Sat, 9 Sep 2017 14:16:36 +0000 (+0800) Subject: cmake: check for osx using `APPLE` not `DARWIN` X-Git-Tag: v13.0.1~880^2~25 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bb4466ebe858f8ef90fd63b9e153e8b7e8b6b4b5;p=ceph-ci.git cmake: check for osx using `APPLE` not `DARWIN` Signed-off-by: Kefu Chai --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 020d463f89b..8b3897fd3c5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -550,7 +550,7 @@ endif() if(FREEBSD) list(APPEND libcommon_files common/freebsd_errno.cc) -elseif(DARWIN) +elseif(APPLE) list(APPEND libcommon_files common/darwin_errno.cc) elseif(SUN) list(APPEND libcommon_files common/solaris_errno.cc)