Skip to content

Commit 1d8689f

Browse files
slarosanyalldawson
authored andcommittedMay 24, 2018
remove deprecated qt5_use_modules macro
1 parent 98b683c commit 1d8689f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/3d/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ INCLUDE_DIRECTORIES(SYSTEM
142142

143143
ADD_LIBRARY(qgis_3d SHARED ${QGIS_3D_SRCS} ${QGIS_3D_MOC_SRCS} ${QGIS_3D_HDRS} ${QGIS_3D_RCC_SRCS})
144144

145-
qt5_use_modules(qgis_3d 3DCore 3DRender 3DInput 3DLogic 3DExtras)
145+
TARGET_LINK_LIBRARIES(qgis_3d Qt5::3DCore Qt5::3DRender Qt5::3DInput Qt5::3DLogic Qt5::3DExtras)
146146

147147
GENERATE_EXPORT_HEADER(
148148
qgis_3d

0 commit comments

Comments
 (0)
Please sign in to comment.