Skip to content

Commit 98c1100

Browse files
committed
Only build NavigationPaneHelper on Windows
Signed-off-by: Claudio Cambra <[email protected]>
1 parent 84e7da5 commit 98c1100

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/gui/CMakeLists.txt

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,6 @@ set(client_SRCS
109109
lockwatcher.cpp
110110
logbrowser.h
111111
logbrowser.cpp
112-
navigationpanehelper.h
113-
navigationpanehelper.cpp
114112
networksettings.h
115113
networksettings.cpp
116114
ocsnavigationappsjob.h
@@ -289,13 +287,19 @@ IF( APPLE )
289287
ENDIF()
290288

291289
IF( NOT WIN32 AND NOT APPLE )
292-
set(client_SRCS ${client_SRCS} folderwatcher_linux.cpp)
290+
set(client_SRCS ${client_SRCS} folderwatcher_linux.cpp)
293291
ENDIF()
294292
IF( WIN32 )
295-
set(client_SRCS ${client_SRCS} folderwatcher_win.cpp shellextensionsserver.cpp ${CMAKE_SOURCE_DIR}/src/common/shellextensionutils.cpp)
293+
set(client_SRCS
294+
${client_SRCS}
295+
folderwatcher_win.cpp
296+
navigationpanehelper.h
297+
navigationpanehelper.cpp
298+
shellextensionsserver.cpp
299+
${CMAKE_SOURCE_DIR}/src/common/shellextensionutils.cpp)
296300
ENDIF()
297301
IF( APPLE )
298-
list(APPEND client_SRCS folderwatcher_mac.cpp)
302+
list(APPEND client_SRCS folderwatcher_mac.cpp)
299303
ENDIF()
300304

301305
set(3rdparty_SRC

0 commit comments

Comments
 (0)