diff options
author | HampusM <hampus@hampusmat.com> | 2022-02-25 18:13:54 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:53 +0200 |
commit | d36ec4670770022c0ec8337f6df4de292ca941db (patch) | |
tree | e4ae33c1470ef3fc63486b5d82b0a5d7377e747f /src | |
parent | c41090d12f4c7269524124dc0a2b5f9a03a61d93 (diff) |
build: add ctre library dependency
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
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) |