Skip to content
Permalink
Browse files
More test qt6 build fixes
  • Loading branch information
nyalldawson committed Jul 20, 2021
1 parent bb0e904 commit 3946d71a6035ca1bdf2a8e06c72298cef5428080
Showing with 8 additions and 8 deletions.
  1. +4 −4 tests/src/providers/CMakeLists.txt
  2. +4 −4 tests/src/providers/grass/CMakeLists.txt
@@ -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
)
@@ -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}

0 comments on commit 3946d71

Please sign in to comment.