Enable link time optims for non debug builds

This commit is contained in:
emeric
2025-01-21 13:56:19 +01:00
parent 135150a458
commit 063e3242b4
+1
View File
@@ -50,6 +50,7 @@ endif()
if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
add_definitions(-DNDEBUG)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
endif()
add_subdirectory(src)