From e92bacbcc969fd494d7d5aacb499e32776debe7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 25 Jul 2011 11:09:29 +0200 Subject: [PATCH] Don't build dfusion on linux, gcc can't do explicit __thiscall --- plugins/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 7751b6886..696cdf808 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -96,7 +96,11 @@ ENDMACRO(DFHACK_PLUGIN) #endmacro() #RECURSE_DIRS() -add_subdirectory (dfusion) + +# Dfusion plugin (Windows only right now) +IF(NOT UNIX) + add_subdirectory (Dfusion) +ENDIF() OPTION(BUILD_QTPLUG "Build the experimental Qt plugin." OFF) if(BUILD_QTPLUG)