aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt3
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)