Skip to content

CMakeLists.txt: fix PACKAGE_VERSION substitution in .pc file#188

Open
trofi wants to merge 1 commit intounittest-cpp:masterfrom
trofi:cmake-fix-version-substitution
Open

CMakeLists.txt: fix PACKAGE_VERSION substitution in .pc file#188
trofi wants to merge 1 commit intounittest-cpp:masterfrom
trofi:cmake-fix-version-substitution

Conversation

@trofi
Copy link
Copy Markdown

@trofi trofi commented Dec 18, 2023

Before the change project built using cmake had Version field empty:

Version:

After the change version is set as expected:

Version: 2.1.0

Noticed as as a build failure of echant-2.6.4 which failed to find the package using pkg-config --exists --print-errors "UnitTest++ >= 1.6" expression.

Before the change project built using `cmake` had Version field empty:

    Version:

After the change version is set as expected:

    Version: 2.1.0

Noticed as as a build failure of `echant-2.6.4` which failed to find the
package using `pkg-config --exists --print-errors "UnitTest++ >= 1.6"`
expression.
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.

1 participant