Skip to content
Permalink
Browse files

Fix build of qgisnative for FreeBSD

  • Loading branch information
lbartoletti authored and nyalldawson committed Aug 16, 2018
1 parent b422504 commit 07c80b82815cb746088d7064c86fef6d70117c39
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/native/CMakeLists.txt
@@ -3,6 +3,10 @@

SET(NATIVE_LINK_LIBS)

IF(UNIX)
FIND_PACKAGE(Qt5DBus REQUIRED)
ENDIF(UNIX)

IF(APPLE)
SET(APPLE_LIB_LIST ApplicationServices CoreFoundation IOKit AppKit)
FOREACH(_lib ${APPLE_LIB_LIST})
@@ -145,7 +149,7 @@ TARGET_LINK_LIBRARIES(qgis_native
)

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

IF (WIN32)

0 comments on commit 07c80b8

Please sign in to comment.
You can’t perform that action at this time.