Lines 1-15
Link Here
|
1 |
--- CMakeLists.txt.orig 2016-04-29 04:32:14 UTC |
1 |
--- CMakeLists.txt.orig 2017-05-09 08:39:31 UTC |
2 |
+++ CMakeLists.txt |
2 |
+++ CMakeLists.txt |
3 |
@@ -81,7 +81,7 @@ IF (WIN32) |
3 |
@@ -107,7 +107,7 @@ IF (WIN32) |
|
|
4 |
SET(SPARKLE_LIBS ${CMAKE_SOURCE_DIR}/WinSparkle.lib) |
4 |
ENDIF() |
5 |
ENDIF() |
5 |
SET(platform_specific_moc_headers src/ext-handler.h) |
6 |
|
6 |
SET(platform_specific_sources src/ext-handler.cpp) |
7 |
-ELSEIF (LINUX) |
7 |
-ELSEIF (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "BSD") |
8 |
+ELSEIF (LINUX OR ${CMAKE_SYSTEM_NAME} MATCHES "BSD|DragonFly") |
8 |
+ELSEIF (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "BSD|DragonFly") |
|
|
9 |
INCLUDE_DIRECTORIES(${QT_QTDBUS_INCLUDE_DIR}) |
9 |
INCLUDE_DIRECTORIES(${QT_QTDBUS_INCLUDE_DIR}) |
10 |
LINK_DIRECTORIES(${QT_QTDBUS_LIBRARIES}) |
10 |
LINK_DIRECTORIES(${QT_QTDBUS_LIBRARIES}) |
11 |
SET(EXTRA_LIBS ${EXTRA_LIBS} ${QT_QTDBUS_LIBRARIES}) |
11 |
SET(EXTRA_LIBS ${EXTRA_LIBS} ${QT_QTDBUS_LIBRARIES}) |
12 |
@@ -318,7 +318,7 @@ PKG_CHECK_MODULES(LIBCCNET REQUIRED libc |
12 |
@@ -360,7 +360,7 @@ PKG_CHECK_MODULES(LIBCCNET REQUIRED libccnet>=1.3) |
13 |
|
13 |
|
14 |
PKG_CHECK_MODULES(LIBSEARPC REQUIRED libsearpc>=1.0) |
14 |
PKG_CHECK_MODULES(LIBSEARPC REQUIRED libsearpc>=1.0) |
15 |
|
15 |
|
Lines 18-24
Link Here
|
18 |
|
18 |
|
19 |
PKG_CHECK_MODULES(LIBSEAFILE REQUIRED libseafile>=1.7) |
19 |
PKG_CHECK_MODULES(LIBSEAFILE REQUIRED libseafile>=1.7) |
20 |
|
20 |
|
21 |
@@ -515,7 +515,7 @@ IF (WIN32) |
21 |
@@ -561,7 +561,7 @@ IF (WIN32) |
22 |
src/utils/registry.cpp |
22 |
src/utils/registry.cpp |
23 |
src/utils/utils-win.cpp |
23 |
src/utils/utils-win.cpp |
24 |
) |
24 |
) |
Lines 27-33
Link Here
|
27 |
LIST(APPEND utils_sources |
27 |
LIST(APPEND utils_sources |
28 |
src/utils/process-linux.cpp |
28 |
src/utils/process-linux.cpp |
29 |
) |
29 |
) |
30 |
@@ -714,7 +714,7 @@ QT5_USE_MODULES(seafile-applet ${WEBKIT_ |
30 |
@@ -761,7 +761,7 @@ QT5_USE_MODULES(seafile-applet ${WEBKIT_NAME} ${WEBKIT |
31 |
ENDIF() |
31 |
ENDIF() |
32 |
|
32 |
|
33 |
## QtBus |
33 |
## QtBus |