Skip to content

Commit 07c80b8

Browse files
lbartolettinyalldawson
authored andcommitted
Fix build of qgisnative for FreeBSD
1 parent b422504 commit 07c80b8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/native/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
SET(NATIVE_LINK_LIBS)
55

6+
IF(UNIX)
7+
FIND_PACKAGE(Qt5DBus REQUIRED)
8+
ENDIF(UNIX)
9+
610
IF(APPLE)
711
SET(APPLE_LIB_LIST ApplicationServices CoreFoundation IOKit AppKit)
812
FOREACH(_lib ${APPLE_LIB_LIST})
@@ -145,7 +149,7 @@ TARGET_LINK_LIBRARIES(qgis_native
145149
)
146150

147151
IF (UNIX AND NOT APPLE AND NOT ANDROID)
148-
TARGET_LINK_LIBRARIES(qgis_native Qt5DBus)
152+
TARGET_LINK_LIBRARIES(qgis_native Qt5::DBus)
149153
ENDIF (UNIX AND NOT APPLE AND NOT ANDROID)
150154

151155
IF (WIN32)

0 commit comments

Comments
 (0)