This repository was archived by the owner on Jun 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 277
This repository was archived by the owner on Jun 12, 2018. It is now read-only.
Standalone Asio not found - but asio.hpp is present #101
Copy link
Copy link
Open
Description
Hi, thank you for this library!
I'm trying to use the library with ASIO but, although it's installed in my system, cmake fails.
My environment:
OS: Archlinux
compiler: clang
cmake version: 3.10.3
Steps to reproduce:
git clone https://github.com/eidheim/Simple-WebSocket-Server/
cd Simple-WebSocket-Server
mkdir build
cd build
cmake -DUSE_STANDALONE_ASIO=ON ..
Error: Standalone Asio not found
But ls /usr/include/asio*
returns:
/usr/include/asio.hpp
/usr/include/asio:
associated_allocator.hpp basic_socket.hpp buffered_stream.hpp defer.hpp handler_invoke_hook.hpp is_write_buffered.hpp serial_port_base.hpp strand.hpp unyield.hpp
associated_executor.hpp basic_socket_iostream.hpp buffered_write_stream_fwd.hpp detail handler_type.hpp local serial_port.hpp streambuf.hpp use_future.hpp
async_result.hpp basic_socket_streambuf.hpp buffered_write_stream.hpp dispatch.hpp high_resolution_timer.hpp packaged_task.hpp serial_port_service.hpp stream_socket_service.hpp uses_executor.hpp
basic_datagram_socket.hpp basic_streambuf_fwd.hpp buffer.hpp error_code.hpp impl placeholders.hpp signal_set.hpp system_context.hpp version.hpp
basic_deadline_timer.hpp basic_streambuf.hpp buffers_iterator.hpp error.hpp io_context.hpp posix signal_set_service.hpp system_error.hpp waitable_timer_service.hpp
basic_io_object.hpp basic_stream_socket.hpp completion_condition.hpp execution_context.hpp io_context_strand.hpp post.hpp socket_acceptor_service.hpp system_executor.hpp wait_traits.hpp
basic_raw_socket.hpp basic_waitable_timer.hpp connect.hpp executor.hpp io_service.hpp raw_socket_service.hpp socket_base.hpp system_timer.hpp windows
basic_seq_packet_socket.hpp bind_executor.hpp coroutine.hpp executor_work_guard.hpp io_service_strand.hpp read_at.hpp spawn.hpp thread.hpp write_at.hpp
basic_serial_port.hpp buffered_read_stream_fwd.hpp datagram_socket_service.hpp generic ip read.hpp ssl thread_pool.hpp write.hpp
basic_signal_set.hpp buffered_read_stream.hpp deadline_timer.hpp handler_alloc_hook.hpp is_executor.hpp read_until.hpp ssl.hpp time_traits.hpp yield.hpp
basic_socket_acceptor.hpp buffered_stream_fwd.hpp deadline_timer_service.hpp handler_continuation_hook.hpp is_read_buffered.hpp seq_packet_socket_service.hpp steady_timer.hpp ts
Hence asio.hpp is present and the whole asio library too.
How can I fix this? (My guess is that the problem is related to cmake somehow)
Thank you
Metadata
Metadata
Assignees
Labels
No labels