Skip to content

[CMake] Make socket.io headers public #344

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

Closed
wants to merge 1 commit into from

Conversation

jmigual
Copy link
Collaborator

@jmigual jmigual commented Jan 28, 2022

You can use the socket.io c++ library as CMake subdirectory by adding add_subdirectory(socket.io-client-cpp) to your personal project. However, when doing this the headers cannot be found as they are made private by default.

This PR solves the issue and now the socket.io header library can be properly used as a subdirectory with CMake.

@jmigual
Copy link
Collaborator Author

jmigual commented Feb 22, 2022

Closing because I realised that there's also #334

@jmigual jmigual closed this Feb 22, 2022
@jmigual jmigual deleted the feature/submodule branch February 17, 2023 09:08
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