aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qmmp/CMakeLists.txt1
-rw-r--r--src/qmmpui/CMakeLists.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/qmmp/CMakeLists.txt b/src/qmmp/CMakeLists.txt
index 270c1a8d1..397671db6 100644
--- a/src/qmmp/CMakeLists.txt
+++ b/src/qmmp/CMakeLists.txt
@@ -1,5 +1,6 @@
project(libqmmp)
+ADD_DEFINITIONS(-DQMMP_LIBRARY)
SET(libqmmp_DEFINES
LIB_DIR="/${LIB_DIR}"
QMMP_INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}"
diff --git a/src/qmmpui/CMakeLists.txt b/src/qmmpui/CMakeLists.txt
index d4ede6378..9427fa7fb 100644
--- a/src/qmmpui/CMakeLists.txt
+++ b/src/qmmpui/CMakeLists.txt
@@ -1,5 +1,7 @@
project(libqmmpui)
+ADD_DEFINITIONS(-DQMMPUI_LIBRARY)
+
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
# libqmmp