Skip to content

Commit

Permalink
Fix build in MacOS, add not Apple for Linux native thing.
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsunni authored and nyalldawson committed Aug 7, 2018
1 parent 53a3425 commit cdc9b56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/native/CMakeLists.txt
Expand Up @@ -54,7 +54,7 @@ IF(WIN32)
)
ENDIF(WIN32)

IF(UNIX)
IF(UNIX AND NOT APPLE)
SET(QGIS_APP_LINUX_SRCS
linux/qgslinuxnative.cpp
)
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit cdc9b56

Please sign in to comment.