diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ee2ddbc..8839145d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,7 +58,7 @@ option(ENABLE_FFMPEG "Enable ffmpeg A/V recording" ${FFMPEG_DEFAULT}) SET(LTO_DEFAULT ON) -IF((AMD64 AND WIN32 AND CMAKE_COMPILER_IS_GNUCXX) OR CMAKE_TOOLCHAIN_FILE MATCHES mxe) +IF(WIN32) SET(LTO_DEFAULT OFF) ENDIF()