From dac0c64d4c47a723766c30655f3eab982128e012 Mon Sep 17 00:00:00 2001 From: Yuki Joou Date: Sun, 4 Feb 2024 22:41:33 +0100 Subject: [PATCH] build: Upped standard version to c++20 --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index af4a8e7..fd54a78 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -3,6 +3,8 @@ target_link_libraries(ipa-sil PRIVATE Fcitx5::Core) set_target_properties(ipa-sil PROPERTIES PREFIX "") install(TARGETS ipa-sil DESTINATION "${FCITX_INSTALL_LIBDIR}/fcitx5") +set_property(TARGET ipa-sil PROPERTY CXX_STANDARD 20) + # Addon config file # We need additional layer of conversion because we want PROJECT_VERSION in it. configure_file(ipa-sil-addon.conf.in ipa-sil-addon.conf)