Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk
2025-07-23 01:06:19 +03:00
committed by Konstantin Pastbin
parent 580209f7ea
commit c4599f4889
9 changed files with 161 additions and 161 deletions

View File

@@ -159,8 +159,8 @@ function(add_precompiled_headers header pch_target_name)
export_directory_flags("${pch_flags_file}")
set(compiler_flags "@${pch_flags_file}")
# CMAKE_CXX_STANDARD 20 flags:
set(c_standard_flags "-std=c++20")
# CMAKE_CXX_STANDARD 23 flags:
set(c_standard_flags "-std=c++23")
get_filename_component(pch_file_name ${header} NAME)
add_pic_pch_target(${header} ${pch_target_name} ${pch_file_name} lib "-fPIC")