summaryrefslogtreecommitdiff
path: root/libcr/CMakeLists.txt
blob: fbc7618ab2fedba6c2d8b788dabef069fe00e22b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# libcr/CMakeLists.txt - TODO
#
# Copyright (C) 2024  Luke T. Shumaker <lukeshu@lukeshu.com>
# SPDX-License-Identifier: AGPL-3.0-or-later

add_library(libcr INTERFACE)
target_include_directories(libcr SYSTEM INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include)
target_sources(libcr INTERFACE
	coroutine.c
)
target_link_libraries(libcr INTERFACE
	libmisc
)
target_compile_options(libcr INTERFACE
	-fno-split-stack
)