1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-15 10:48:33 +01:00

Fix compilation failure on mac and windows

This commit is contained in:
David Sansome 2010-07-24 12:46:48 +00:00
parent 990127e5e8
commit 0c793689ae

View File

@ -190,9 +190,9 @@ if (USE_SYSTEM_QXT)
# We only need its header. We don't need to link to QxtCore.
find_library(QXT_LIBRARIES QxtGui)
else (USE_SYSTEM_QXT)
add_definitions(-DQXT_STATIC -DBUILD_QXT_GUI -DBUILD_QXT_CORE)
if (NOT APPLE)
add_subdirectory(3rdparty/qxt)
add_definitions(-DQXT_STATIC -DBUILD_QXT_GUI -DBUILD_QXT_CORE)
set(QXT_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/qxt)
set(QXT_LIBRARIES qxt)
endif (NOT APPLE)