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 compilation on Windows mingw #106

Merged
merged 1 commit into from
Sep 27, 2024
Merged

Conversation

lunacd
Copy link
Contributor

@lunacd lunacd commented Sep 26, 2024

This commit fixes two issues on Windows:

  1. MSSTL does not provide an implicit conversion from fs::path to string.
  2. fmt and tl-expected are included in are in libcps header files and are thus leaked into targets that depend on libcps. Setting fmt and tl-expected's visibility to PUBLIC solves build failures.

src/CMakeLists.txt Outdated Show resolved Hide resolved
This commit fixes two issues on Windows:
1. MSSTL does not provide an implicit conversion from fs::path to
string.
2. fmt and tl-expected are included in are in libcps header files and
are thus leaked into targets that depend on libcps. Setting fmt and
tl-expected's visibility to PUBLIC solves build failures.
@dcbaker dcbaker merged commit 607c449 into cps-org:main Sep 27, 2024
8 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