- Source code: Zend/cmake/Fibers.cmake
Check if Fibers can be used.
This module adds Boost fiber assembly files support if available for the platform, otherwise it checks if ucontext can be used.
-
ZEND_FIBER_ASM
Whether to use Boost fiber assembly files.
-
ZEND_FIBER_UCONTEXT
Whether
<ucontext.h>
header file is available and should be used.
-
Zend::Fibers
Interface library using Boost fiber assembly files and compile options if available.
# CMakeLists.txt
include(cmake/Fibers.cmake)