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

add support for cmake find_package #365

Merged
merged 4 commits into from
Jan 29, 2024
Merged

Conversation

poor-circle
Copy link
Contributor

Why

Add support for cmake find_package. User can import async_simple easily.

Some package managers also use it. we can add async_simple to package manager later.

Example

find_package(async_simple REQUIRED)
target_link_libraries(<your-target-name> PRIVATE async_simple::async_simple) # dynamic_link
                                 # async_simple::async_simple_header_only   
                                 # async_simple::async_simple_static  

@ChuanqiXu9
Copy link
Collaborator

Windows CI is failing. Please take a look.

@poor-circle
Copy link
Contributor Author

Windows CI is failing. Please take a look.

Fixed.

@ChuanqiXu9 ChuanqiXu9 merged commit e1fdcf1 into alibaba:main Jan 29, 2024
1 check 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