Lines 5-12
include_directories (${CMAKE_CURRENT_BINARY_DIR}
Link Here
|
5 |
${Boost_INCLUDE_DIR} |
5 |
${Boost_INCLUDE_DIR} |
6 |
) |
6 |
) |
7 |
|
7 |
|
|
|
8 |
option (WITH_DBUS_LOADERS "Build D-Bus loaders on UNIX" OFF) |
9 |
|
8 |
if (NOT USE_QT5) |
10 |
if (NOT USE_QT5) |
9 |
if (NOT WIN32) |
11 |
if (WITH_DBUS_LOADERS) |
10 |
set (QT_USE_QTDBUS TRUE) |
12 |
set (QT_USE_QTDBUS TRUE) |
11 |
endif () |
13 |
endif () |
12 |
set (QT_USE_QTNETWORK TRUE) |
14 |
set (QT_USE_QTNETWORK TRUE) |
Lines 101-107
set (SRCS
Link Here
|
101 |
loaders/sopluginloader.cpp |
103 |
loaders/sopluginloader.cpp |
102 |
) |
104 |
) |
103 |
|
105 |
|
104 |
if (UNIX AND NOT APPLE) |
106 |
if (WITH_DBUS_LOADERS) |
105 |
set (SRCS |
107 |
set (SRCS |
106 |
${SRCS} |
108 |
${SRCS} |
107 |
loaders/dbuspluginloader.cpp |
109 |
loaders/dbuspluginloader.cpp |
Lines 179-184
if (USE_QT5)
Link Here
|
179 |
QT5_USE_MODULES (leechcraft Gui Network Widgets Xml Sql Script Concurrent DBus Svg) |
181 |
QT5_USE_MODULES (leechcraft Gui Network Widgets Xml Sql Script Concurrent DBus Svg) |
180 |
endif () |
182 |
endif () |
181 |
|
183 |
|
182 |
if (UNIX AND NOT APPLE) |
184 |
if (WITH_DBUS_LOADERS) |
183 |
add_subdirectory (loaders/dbus) |
185 |
add_subdirectory (loaders/dbus) |
184 |
endif () |
186 |
endif () |