fix: added missing CMake module for asio library#430
fix: added missing CMake module for asio library#430dudantas merged 1 commit intoopentibiabr:mainfrom
Conversation
dudantas
left a comment
There was a problem hiding this comment.
Tested, everything is ok. Remembering that this problem in asio does not occur in windows or ubuntu, apparently only in some other systems, such as arch linux and mac OS, so I limited myself to testing in my development environment only.
Windows gets sources using different methods, esp. if using vcpkg, but I'll check to see how Ubuntu does it and if they have a better implementation, copy it over. Edit: sure about that? Just tested Ubuntu jammy and installing asio is not enough, cmake complains about the lack of |
Description
When Boost got removed in favor of standalone Asio, it stopped working on CMake because Asio is not one of the modules usually shipped with CMake (Boost is), thus it failed to configure. Adds a simple script to look for Asio and link as expected.
Behaviour
Actual
Expected
Asio is found and linked against.
Fixes
fix #259
fix #295
but you closed it without fixing
Type of change
Please delete options that are not relevant.
How Has This Been Tested
N/A
Test Configuration:
Checklist