summaryrefslogtreecommitdiffhomepage
path: root/qxt-mini
diff options
context:
space:
mode:
Diffstat (limited to 'qxt-mini')
-rw-r--r--qxt-mini/CMakeLists.txt2
-rw-r--r--qxt-mini/QxtGlobalShortcut4
-rw-r--r--qxt-mini/qxtglobal.h2
3 files changed, 5 insertions, 3 deletions
diff --git a/qxt-mini/CMakeLists.txt b/qxt-mini/CMakeLists.txt
index 5de29cd1..a8b8fb1d 100644
--- a/qxt-mini/CMakeLists.txt
+++ b/qxt-mini/CMakeLists.txt
@@ -1,5 +1,5 @@
if(UNIX OR APPLE)
- opentrack_boilerplate(opentrack-qxt-mini NO-LINKER-SCRIPT NO-COMPAT)
+ opentrack_boilerplate(opentrack-qxt-mini NO-LINKER-SCRIPT NO-COMPAT LINKAGE)
if(NOT APPLE)
target_link_libraries(opentrack-qxt-mini X11)
else()
diff --git a/qxt-mini/QxtGlobalShortcut b/qxt-mini/QxtGlobalShortcut
index d673035b..c2827bc2 100644
--- a/qxt-mini/QxtGlobalShortcut
+++ b/qxt-mini/QxtGlobalShortcut
@@ -1,2 +1,4 @@
-#include "qxtglobalshortcut.h"
+#ifndef _WIN32
+# include "qxtglobalshortcut.h"
+#endif
diff --git a/qxt-mini/qxtglobal.h b/qxt-mini/qxtglobal.h
index 64fd35dc..913da556 100644
--- a/qxt-mini/qxtglobal.h
+++ b/qxt-mini/qxtglobal.h
@@ -51,7 +51,7 @@
#define QXT_DLLEXPORT DO_NOT_USE_THIS_ANYMORE
-#ifdef BUILD_opentrack_qxt_mini
+#ifdef BUILD_qxt_mini
# define QXT_BUILD
# define BUILD_QXT_GUI
# define BUILD_QXT