Skip to content

Commit

Permalink
Merge pull request #7591 from m-kuhn/fixAndroidNative
Browse files Browse the repository at this point in the history
Fix android native
  • Loading branch information
m-kuhn committed Aug 11, 2018
2 parents bcaf597 + f98cc11 commit 02e6ec1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/native/CMakeLists.txt
Expand Up @@ -55,14 +55,14 @@ IF(WIN32)
)
ENDIF(WIN32)

IF(UNIX AND NOT APPLE)
IF(UNIX AND NOT APPLE AND NOT ANDROID)
SET(QGIS_APP_LINUX_SRCS
linux/qgslinuxnative.cpp
)
SET(QGIS_NATIVE_SRCS ${QGIS_NATIVE_SRCS}
${QGIS_APP_LINUX_SRCS}
)
ENDIF(UNIX AND NOT APPLE)
ENDIF(UNIX AND NOT APPLE AND NOT ANDROID)

SET(QGIS_NATIVE_HDRS
qgsnative.h
Expand Down Expand Up @@ -144,9 +144,9 @@ TARGET_LINK_LIBRARIES(qgis_native
"${NATIVE_LINK_LIBS}"
)

IF (UNIX AND NOT APPLE)
IF (UNIX AND NOT APPLE AND NOT ANDROID)
TARGET_LINK_LIBRARIES(qgis_native Qt5DBus)
ENDIF (UNIX AND NOT APPLE)
ENDIF (UNIX AND NOT APPLE AND NOT ANDROID)

IF (WIN32)
FIND_PACKAGE(Qt5WinExtras)
Expand Down

0 comments on commit 02e6ec1

Please sign in to comment.