diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 10d961c..5da5458 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -65,7 +65,8 @@ add_custom_target( ) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -Wmissing-declarations -fdiagnostics-color=always \ +#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -Wmissing-declarations -fdiagnostics-color=always \ +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wextra -Werror -Wmissing-declarations -fdiagnostics-color=always \ -O2 -pipe -fno-plt -fexceptions \ -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \ -fstack-clash-protection -fcf-protection") @@ -80,7 +81,7 @@ set(LIBRARIES ${GTK_LIBRARIES} ${WEBKIT_LIBRARIES} ${UTILS_LIBRARIES} - ${VTE291_LIBRARIES} + ${VTE291_LIBRARIES} pthread ublsettings ublsettings-gtk3