Skip to content

Commit

Permalink
ci: enforce boost 1.86 until websocketpp situation is sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Dec 18, 2024
1 parent 5aa853b commit 1a5cf99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cmake/deps/boost.cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
set(BOOST_MINOR_MINIMAL 86)
set(BOOST_MINOR_LATEST 86)

find_package(Boost 1.${BOOST_MINOR_MINIMAL} EXACT QUIET GLOBAL)
if (NOT Boost_FOUND AND NOT OSSIA_USE_SYSTEM_LIBRARIES)
# find_package(Boost 1.${BOOST_MINOR_MINIMAL} EXACT QUIET GLOBAL)
# if (NOT Boost_FOUND AND NOT OSSIA_USE_SYSTEM_LIBRARIES)
set(OSSIA_MUST_INSTALL_BOOST 1 CACHE INTERNAL "")
set(BOOST_VERSION "boost_1_${BOOST_MINOR_LATEST}_0" CACHE INTERNAL "")

Expand All @@ -25,7 +25,7 @@ if (NOT Boost_FOUND AND NOT OSSIA_USE_SYSTEM_LIBRARIES)
list(PREPEND CMAKE_FIND_ROOT_PATH "${BOOST_ROOT}")

find_package(Boost 1.${BOOST_MINOR_LATEST} REQUIRED GLOBAL)
endif()
# endif()

add_library(boost INTERFACE IMPORTED GLOBAL)
set_property(TARGET boost PROPERTY
Expand Down
2 changes: 1 addition & 1 deletion src/ossia/network/sockets/unix_socket.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class unix_stream_client

void close()
{
m_context.post([this] {
boost::asio::post(m_context, [this] {
m_socket.close();
on_close();
});
Expand Down

0 comments on commit 1a5cf99

Please sign in to comment.