-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix grass plugin build (followup d2078b00) #60038
Conversation
🪟 Windows buildsDownload Windows builds of this PR for testing. 🪟 Windows Qt6 buildsDownload Windows Qt6 builds of this PR for testing. |
@jef-n do you still have the build error around somewhere? |
|
This should be added to a grass target and because we don't have that to the grass provider instead. |
5e458a8
to
453ea56
Compare
It seems that now building QGIS with GRASS 8 but without PostgreSQL is not possible, as it complains that lib PostgreSQL::PostgreSQL is not found. |
Interesting scenario. target_link_libraries(qgisgrass${GRASS_BUILD_VERSION} ${GRASS_TARGET_LINK_LIBRARIES${GRASS_BUILD_VERSION}})
if(WITH_POSTGRESQL)
target_link_libraries(qgisgrass${GRASS_BUILD_VERSION} PostgreSQL::PostgreSQL)
endif() This should recover the status quo. It's not ideal as it requires QGIS to be built with PostgreSQL support if grass is built with PostgreSQL support, but I guess that's acceptable. |
No description provided.