From 59ea59b5bea6bbbd7deb613d482f6dee2b5856e9 Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Sat, 19 Dec 2009 17:15:17 +0200 Subject: [PATCH] CMake - disable building GUI for Cygwin. --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dad7f5ae8..95dea3cce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,5 +17,8 @@ PROJECT(CPPCHECK) ADD_SUBDIRECTORY(lib) ADD_SUBDIRECTORY(cli) ADD_SUBDIRECTORY(test) -ADD_SUBDIRECTORY(gui) +# Don't build GUI for Cygwin (most installations don't have QT) +IF (NOT CYGWIN) + ADD_SUBDIRECTORY(gui) +endif (NOT CYGWIN)