Enable LTO Release builds on Windows by default

check_span
AnyOldName3 2 years ago committed by Andrei Kortunov
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…
Cancel
Save