Skip to content

bugfix/fix-jsoncpp-version-comparision-operator - #2590

Merged
an-tao merged 1 commit into
drogonframework:masterfrom
JuergenGleiss:bugfix/fix-jsoncpp-version-detection
Sep 14, 2026
Merged

an-tao merged 1 commit into
drogonframework:masterfrom
JuergenGleiss:bugfix/fix-jsoncpp-version-detection

Conversation

@JuergenGleiss

Copy link
Copy Markdown
Contributor

summary

The jsoncpp version string follows the format major.minor.patch. Version comparison using LESS fails when the installed version returns the string in this format.
CMake offers a better comparison operator: VERSION_LESS.
-> https://cmake.org/cmake/help/latest/command/if.html#version-comparisons

@an-tao
an-tao merged commit d920cfc into drogonframework:master Sep 14, 2026
34 checks passed
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