comparison 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
comparison
equal deleted inserted replaced
3:190ded9438c0 4:5af270662505
31 set_property(TARGET weeaboo PROPERTY AUTORCC ON) 31 set_property(TARGET weeaboo PROPERTY AUTORCC ON)
32 32
33 find_package(Qt5 COMPONENTS Widgets REQUIRED) 33 find_package(Qt5 COMPONENTS Widgets REQUIRED)
34 find_package(CURL REQUIRED) 34 find_package(CURL REQUIRED)
35 target_include_directories(weeaboo PUBLIC ${Qt5Widgets_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} PRIVATE src/include src/icons) 35 target_include_directories(weeaboo PUBLIC ${Qt5Widgets_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} PRIVATE src/include src/icons)
36 target_compile_options(weeaboo PRIVATE -Wall -Wextra) 36 target_compile_options(weeaboo PRIVATE -Wall -Wextra -Wsuggest-override)
37 target_link_libraries(weeaboo ${Qt5Widgets_LIBRARIES} ${CURL_LIBRARIES}) 37 target_link_libraries(weeaboo ${Qt5Widgets_LIBRARIES} ${CURL_LIBRARIES})