From d36ec4670770022c0ec8337f6df4de292ca941db Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 25 Feb 2022 18:13:54 +0100 Subject: build: add ctre library dependency --- src/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 04f3e02..1e4d106 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -32,7 +32,8 @@ target_compile_options( -pedantic -fsanitize=address -fno-exceptions ) - target_include_directories(${PROJECT_NAME} PRIVATE .) +target_link_libraries_system(${PROJECT_NAME} ctre) + target_link_options(${PROJECT_NAME} PRIVATE -fsanitize=address) -- cgit v1.2.3-18-g5258