diff --git a/CMakeLists.txt b/CMakeLists.txt index ddda1dfe5..02ae5425f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,11 +142,11 @@ endif() target_compile_options(notcurses PRIVATE - -Wall -Wextra -W -Wshadow -Wformat ${DEBUG_OPTIONS} + -Wall -Wextra -W -Wshadow -Wformat -fkeep-inline-functions ${DEBUG_OPTIONS} ) target_compile_options(notcurses-static PRIVATE - -Wall -Wextra -W -Wshadow -Wformat ${DEBUG_OPTIONS} + -Wall -Wextra -W -Wshadow -Wformat -fkeep-inline-functions ${DEBUG_OPTIONS} ) target_compile_definitions(notcurses PUBLIC