From 7f2b25d453241e72899c6c50ffaef89763b9a479 Mon Sep 17 00:00:00 2001 From: XinyuHou Date: Tue, 20 Dec 2016 13:00:30 +0000 Subject: [PATCH] Compile old GUI on Windows only --- src/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d213a927..bf9a9096 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -16,7 +16,9 @@ add_subdirectory(lib) add_subdirectory(cmd) -add_subdirectory(gui) +if (WIN32) + add_subdirectory(gui) +endif() if ((NOT ${CMAKE_SYSTEM_NAME} MATCHES "IRIX") AND (NOT ${DISABLE_TESTS})) add_subdirectory(test)