Fix build in MacOS, add not Apple for Linux native thing.

This commit is contained in:
Ismail Sunni 2018-08-07 12:20:34 +07:00 committed by Nyall Dawson
parent 53a3425ec3
commit cdc9b56f50

View File

@ -54,7 +54,7 @@ IF(WIN32)
)
ENDIF(WIN32)
IF(UNIX)
IF(UNIX AND NOT APPLE)
SET(QGIS_APP_LINUX_SRCS
linux/qgslinuxnative.cpp
)
@ -137,7 +137,7 @@ TARGET_LINK_LIBRARIES(qgis_native
"${NATIVE_LINK_LIBS}"
)
IF (UNIX)
IF (UNIX AND NOT APPLE)
TARGET_LINK_LIBRARIES(qgis_native Qt5DBus)
ENDIF (UNIX)