Skip to content

Commit cdc9b56

Browse files
ismailsunninyalldawson
authored andcommittedAug 7, 2018
Fix build in MacOS, add not Apple for Linux native thing.
1 parent 53a3425 commit cdc9b56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/native/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ IF(WIN32)
5454
)
5555
ENDIF(WIN32)
5656

57-
IF(UNIX)
57+
IF(UNIX AND NOT APPLE)
5858
SET(QGIS_APP_LINUX_SRCS
5959
linux/qgslinuxnative.cpp
6060
)
@@ -137,7 +137,7 @@ TARGET_LINK_LIBRARIES(qgis_native
137137
"${NATIVE_LINK_LIBS}"
138138
)
139139

140-
IF (UNIX)
140+
IF (UNIX AND NOT APPLE)
141141
TARGET_LINK_LIBRARIES(qgis_native Qt5DBus)
142142
ENDIF (UNIX)
143143

0 commit comments

Comments
 (0)