Skip to content

Commit

Permalink
[ci] Add missing headers, increase to cpp23
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed May 13, 2024
1 parent a0b3e28 commit 7b8b16b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/avendish.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include(CMakeFindDependencyMacro)

set(CMAKE_INCLUDE_CURRENT_DIR 1)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(AVND_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
set(AVND_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}" CACHE INTERNAL "")
Expand Down
2 changes: 2 additions & 0 deletions include/avnd/common/coroutines.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

/* SPDX-License-Identifier: GPL-3.0-or-later */

#include <cstdlib>

#if AVND_DISABLE_COROUTINES == 0
#if __has_include(<coroutine>)
#include <coroutine>
Expand Down

0 comments on commit 7b8b16b

Please sign in to comment.