From 9472ee4febb63ccebee2d8539ce8a12be841f8f4 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 8 Sep 2024 16:12:19 +0200 Subject: [PATCH] Enable LTO --- cmake/compiler-env.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/compiler-env.cmake b/cmake/compiler-env.cmake index 9bb7496..055d49b 100644 --- a/cmake/compiler-env.cmake +++ b/cmake/compiler-env.cmake @@ -21,7 +21,7 @@ cmake_policy(SET CMP0069 NEW) set(CMAKE_POLICY_DEFAULT_CMP0069 NEW) set(CMAKE_POSITION_INDEPENDENT_CODE ON) -#set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE) +set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON) ##########################################