Skip to content

Commit

Permalink
More test qt6 build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 20, 2021
1 parent bb0e904 commit 3946d71
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions tests/src/providers/CMakeLists.txt
Expand Up @@ -71,10 +71,10 @@ if(UNIX AND NOT ANDROID AND CMAKE_BUILD_TYPE MATCHES Debug)
)

target_link_libraries(test_provider_wcs
${Qt5Core_LIBRARIES}
${Qt5Network_LIBRARIES}
${Qt5Svg_LIBRARIES}
${Qt5Xml_LIBRARIES}
${${QT_VERSION_BASE}Core_LIBRARIES}
${${QT_VERSION_BASE}Network_LIBRARIES}
${${QT_VERSION_BASE}Svg_LIBRARIES}
${${QT_VERSION_BASE}Xml_LIBRARIES}
${OPTIONAL_QTWEBKIT}
qgis_core
)
Expand Down
8 changes: 4 additions & 4 deletions tests/src/providers/grass/CMakeLists.txt
Expand Up @@ -25,10 +25,10 @@ macro (ADD_QGIS_GRASS_TEST grass_build_version testname testsrc)
COMPILE_FLAGS "-DGRASS_BASE=\\\"${GRASS_PREFIX${grass_build_version}}\\\" \"-DGRASS_BUILD_VERSION=${grass_build_version}\""
)
target_link_libraries(qgis_${testname}${grass_build_version}
${Qt5Xml_LIBRARIES}
${Qt5Core_LIBRARIES}
${Qt5Svg_LIBRARIES}
${Qt5Test_LIBRARIES}
${${QT_VERSION_BASE}Xml_LIBRARIES}
${${QT_VERSION_BASE}Core_LIBRARIES}
${${QT_VERSION_BASE}Svg_LIBRARIES}
${${QT_VERSION_BASE}Test_LIBRARIES}
${PROJ_LIBRARY}
${GEOS_LIBRARY}
${GDAL_LIBRARY}
Expand Down

0 comments on commit 3946d71

Please sign in to comment.