From 40d02748924aa7c48b04cf948204d8dacdfbbc74 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 30 Apr 2022 16:28:13 +0200 Subject: refactor: replace DI files with the yacppdic library --- src/CMakeLists.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 679949b..92ce76b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -51,7 +51,7 @@ target_compile_options( -Wsign-conversion -Wsign-promo -Wstrict-overflow=5 -Wswitch-default -Wundef -Werror - -pedantic -fsanitize=address -fno-exceptions -stdlib=libc++ + -pedantic -fsanitize=address -fno-exceptions ) if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") @@ -64,6 +64,12 @@ endif() target_include_directories(${PROJECT_NAME} PRIVATE .) -target_link_libraries_system(${PROJECT_NAME} ctre fmt::fmt-header-only GSL) +target_link_libraries_system( + ${PROJECT_NAME} + ctre + fmt::fmt-header-only + GSL + yacppdic +) -target_link_options(${PROJECT_NAME} PRIVATE -fsanitize=address -stdlib=libc++) +target_link_options(${PROJECT_NAME} PRIVATE -fsanitize=address) -- cgit v1.2.3-18-g5258