aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-02-27 16:07:30 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:53 +0200
commit6964d48c970e5f7b11897096c816271785af23ac (patch)
treedf9e50fbe167de4aed9df1bef8e395a28109c344 /src/CMakeLists.txt
parent2bcf699b9e11ccf848393882257fc3986bd28e45 (diff)
build: add fmt library dependency
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7e668ed..a32942b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -21,7 +21,7 @@ file(GLOB SOURCES
add_executable(${PROJECT_NAME} ${SOURCES})
-target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_17)
+target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_20)
target_compile_options(
${PROJECT_NAME}
@@ -40,6 +40,6 @@ target_compile_options(
target_include_directories(${PROJECT_NAME} PRIVATE .)
-target_link_libraries_system(${PROJECT_NAME} ctre)
+target_link_libraries_system(${PROJECT_NAME} ctre fmt)
target_link_options(${PROJECT_NAME} PRIVATE -fsanitize=address)