From 1fe1be4c4266abae4f845c81ade2a4c37b0c40be Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Mon, 2 May 2011 10:23:10 +0000 Subject: [PATCH] removed useless cmake syntax --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7df66252..644a6d7f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -161,7 +161,7 @@ if (UNIX) ${lib_Carbon} ) - else (APPLE) + else() set(XKBlib "X11/XKBlib.h") check_include_files("${XKBlib};X11/extensions/dpms.h" HAVE_X11_EXTENSIONS_DPMS_H) @@ -199,7 +199,7 @@ if (UNIX) set(HAVE_X11) list(APPEND libs X11 Xtst) - else (HAVE_Xtst) + else() message(FATAL_ERROR "Missing library: Xtst")