diff --git a/CMakeLists.txt b/CMakeLists.txt index 6cb75ea9..53c0e351 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,6 +50,7 @@ endif() if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug") add_definitions(-DNDEBUG) + set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE) endif() add_subdirectory(src)