mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
committed by
Konstantin Pastbin
parent
580209f7ea
commit
c4599f4889
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user