From 98bd43ffce1aecaa449beb64bbc5312239b876eb Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Tue, 15 Jan 2019 17:10:47 +0100 Subject: [PATCH] UNIX works for Unix like OS so no need to add APPLE. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1a51ec5..1571344 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,7 @@ set(_SRCS ) macro(add_linux_detection) - if(NOT (APPLE OR UNIX)) + if(NOT UNIX) message(FATAL_ERROR "Use of add_linux_detection() on non Linux-like OS") endif() list(APPEND _SRCS