diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 6aa419ada2..fbf7ad45ae 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -35,6 +35,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") endif() elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") add_compile_options(-Wall -Wextra) + add_link_options($<$:-s>) endif()