diff CMakeLists.txt @ 4:5af270662505

Set override functions as override
author Paper <mrpapersonic@gmail.com>
date Sat, 12 Aug 2023 12:08:16 -0400
parents 190ded9438c0
children 51ae25154b70
line wrap: on
line diff
--- a/CMakeLists.txt	Sat Aug 12 11:57:25 2023 -0400
+++ b/CMakeLists.txt	Sat Aug 12 12:08:16 2023 -0400
@@ -33,5 +33,5 @@
 find_package(Qt5 COMPONENTS Widgets REQUIRED)
 find_package(CURL REQUIRED)
 target_include_directories(weeaboo PUBLIC ${Qt5Widgets_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} PRIVATE src/include src/icons)
-target_compile_options(weeaboo PRIVATE -Wall -Wextra)
+target_compile_options(weeaboo PRIVATE -Wall -Wextra -Wsuggest-override)
 target_link_libraries(weeaboo ${Qt5Widgets_LIBRARIES} ${CURL_LIBRARIES})