Skip to content
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: CMake problems found by the openBSD package #1422

Merged

Conversation

shenlebantongying
Copy link
Collaborator

@shenlebantongying shenlebantongying commented Mar 19, 2024

  • remove unused WITH_XAPIAN option
  • don't link Qt TTS if not requested

Also disable some code that does useless things when Qt TTS is not enabled.

See the comments here: https://github.com/openbsd/ports/blob/971a335e5114e2b952d8f491af87b97c897914d7/textproc/goldendict-ng/Makefile#L55-L63 by @klemensn (sorry for unnecessary troubles.)

@shenlebantongying shenlebantongying changed the title fix: address CMake problems found by the openBSD package fix: CMake problems found by the openBSD package Mar 19, 2024
* remove unused WITH_XAPIAN option
* don't link Qt TTS if not requested
@shenlebantongying shenlebantongying marked this pull request as draft March 19, 2024 21:10
@shenlebantongying shenlebantongying marked this pull request as ready for review March 19, 2024 21:15
@shenlebantongying shenlebantongying marked this pull request as draft March 19, 2024 21:19
@shenlebantongying shenlebantongying marked this pull request as ready for review March 19, 2024 21:24
* remove unused WITH_XAPIAN option
* don't link Qt TTS if not requested
* Disable some code when TTS is not requested
Copy link

sonarcloud bot commented Mar 19, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@xiaoyifang xiaoyifang merged commit b9e14f8 into xiaoyifang:staged Mar 20, 2024
13 checks passed
@shenlebantongying shenlebantongying deleted the fix/fix-cmake-problems branch March 20, 2024 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants