mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
Enable LTO Release builds on Windows by default
This commit is contained in:
parent
ebc34ea251
commit
6e3c04195c
@ -530,6 +530,9 @@ if ! [ -z $USE_CCACHE ]; then
|
||||
add_cmake_opts "-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache"
|
||||
fi
|
||||
|
||||
# turn on LTO by default
|
||||
add_cmake_opts "-DOPENMW_LTO_BUILD=True"
|
||||
|
||||
if ! [ -z "$USE_WERROR" ]; then
|
||||
add_cmake_opts "-DOPENMW_MSVC_WERROR=ON"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user