Skip to content

Conversation

@momo5502
Copy link
Contributor

@momo5502 momo5502 commented May 3, 2025

Calling target_link_libraries before a target has been added seems to cause errors during CMake configuration.

Since BCrypt was fixed in b508028, this error seems to occur.

Moving the target_link_libraries call after the library has been added fixes this.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Copy link
Member

@sjaeckel sjaeckel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took the liberty to add a commit that runs the CMake builds on Appveyor.

https://ci.appveyor.com/project/libtom/libtomcrypt/builds/52001098 also shows that the CMake build on Windows was broken before your patch, so thanks a lot for that!

@sjaeckel sjaeckel merged commit d448df1 into libtom:develop May 6, 2025
79 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.

3 participants