netcan / asyncio

asyncio is a c++20 library to write concurrent code using the async/await syntax.
MIT License
812 stars 80 forks source link

Add target install for Linux environment. #10

Closed aliihsancengiz closed 2 years ago

aliihsancengiz commented 2 years ago

Related https://github.com/netcan/asyncio/issues/8

netcan commented 2 years ago

thank you for your pull request. it it better to install at /usr/local than /usr/ ?

set(CMAKE_INSTALL_PREFIX "/usr/")
aliihsancengiz commented 2 years ago

i just removed set(CMAKE_INSTALL_PREFIX "/usr/") and default installation prefix is /usr/local/, so unless you expilicitly specify it would install to /usr/local/