build: Upped standard version to c++20

This commit is contained in:
Yuki Joou 2024-02-04 22:41:33 +01:00
parent 47c42dbdf9
commit dac0c64d4c

View file

@ -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)