Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-06-29 17:06:00 +0300
committerGitHub <noreply@github.com>2020-06-29 17:06:00 +0300
commit9a8fc4277d4d05927f5423c34e16a13ca29d1343 (patch)
treed6d96e40fa7c41484f7b60c3ff699c745c0b315a /src/gui/CMakeLists.txt
parent8b95caae9e3979987c3dac75bb5ae4a5af806330 (diff)
Merge pull request #7910 from TheOneRing/non_win
Don't build Windows only code on other platforms
Diffstat (limited to 'src/gui/CMakeLists.txt')
-rw-r--r--src/gui/CMakeLists.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
index 37845024c..28f6f94ae 100644
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -48,7 +48,6 @@ set(client_SRCS
ignorelisteditor.cpp
lockwatcher.cpp
logbrowser.cpp
- navigationpanehelper.cpp
networksettings.cpp
ocsjob.cpp
ocssharejob.cpp
@@ -122,13 +121,15 @@ IF( APPLE )
ENDIF()
IF( NOT WIN32 AND NOT APPLE )
-set(client_SRCS ${client_SRCS} folderwatcher_linux.cpp)
+ list(APPEND client_SRCS folderwatcher_linux.cpp)
ENDIF()
IF( WIN32 )
-set(client_SRCS ${client_SRCS} folderwatcher_win.cpp)
+ list(APPEND client_SRCS
+ folderwatcher_win.cpp
+ navigationpanehelper.cpp)
ENDIF()
IF( APPLE )
-list(APPEND client_SRCS folderwatcher_mac.cpp)
+ list(APPEND client_SRCS folderwatcher_mac.cpp)
ENDIF()
set(3rdparty_SRC