Skip to content

Commit

Permalink
Fix build of qgisnative for FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti authored and nyalldawson committed Aug 16, 2018
1 parent b422504 commit 07c80b8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/native/CMakeLists.txt
Expand Up @@ -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})
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 07c80b8

Please sign in to comment.