Compare commits

...

2 Commits

Author SHA1 Message Date
Zhao Yuhang e627edc1a3 update 2023-10-02 19:07:47 +08:00
Zhao Yuhang 08e65125e3 update 2023-10-02 18:14:57 +08:00
1 changed files with 2 additions and 2 deletions

View File

@ -890,7 +890,7 @@ function(setup_compile_params)
endif() endif()
if(__lto_enabled) if(__lto_enabled)
target_compile_options(${__target} PRIVATE target_compile_options(${__target} PRIVATE
$<$<CONFIG:Release>:-funified-lto -fwhole-program-vtables> # -fsplit-lto-unit $<$<CONFIG:Release>:-fwhole-program-vtables> # -fsplit-lto-unit -funified-lto
) )
if(MSVC) if(MSVC)
target_link_options(${__target} PRIVATE target_link_options(${__target} PRIVATE
@ -2514,7 +2514,7 @@ function(generate_project_version)
endif() endif()
if(arg_COMPILER_HOMEPAGE) if(arg_COMPILER_HOMEPAGE)
set(__homepage "") set(__homepage "")
query_compiler_information(NAME __homepage) query_compiler_information(HOMEPAGE __homepage)
string(APPEND __versions "${__common_str} ${__prefix}_COMPILER_HOMEPAGE_STR[] = \"${__homepage}\";\n") string(APPEND __versions "${__common_str} ${__prefix}_COMPILER_HOMEPAGE_STR[] = \"${__homepage}\";\n")
endif() endif()
if(arg_BUILD_DATETIME) if(arg_BUILD_DATETIME)