Mercurial > minori
diff CMakeLists.txt @ 10:4b198a111713
Update
things actually compile now btw
qttest wants to fuck over the model but that might be my fault so /shrug
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sat, 16 Sep 2023 02:06:01 -0400 |
parents | 5c0397762b53 |
children | fc1bf97c528b |
line wrap: on
line diff
--- a/CMakeLists.txt Sun Sep 10 03:59:16 2023 -0400 +++ b/CMakeLists.txt Sat Sep 16 02:06:01 2023 -0400 @@ -33,7 +33,11 @@ src/gui/pages/now_playing.cpp src/gui/pages/statistics.cpp + # Translate + src/gui/translate/anime.cpp + # Services (only AniList for now) + src/services/services.cpp src/services/anilist.cpp # Qt resources @@ -55,11 +59,12 @@ set_property(TARGET weeaboo PROPERTY AUTOMOC ON) set_property(TARGET weeaboo PROPERTY AUTORCC ON) -find_package(Qt5 COMPONENTS Widgets REQUIRED) +find_package(Qt5 COMPONENTS Widgets Test REQUIRED) find_package(CURL REQUIRED) set(LIBRARIES ${Qt5Widgets_LIBRARIES} + ${Qt5Test_LIBRARIES} ${CURL_LIBRARIES} anitomy ) @@ -69,7 +74,7 @@ list(APPEND LIBRARIES ${COCOA_LIBRARY}) endif() -target_include_directories(weeaboo PUBLIC ${Qt5Widgets_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} PRIVATE include) +target_include_directories(weeaboo PUBLIC ${Qt5Widgets_INCLUDE_DIRS} ${Qt5Test_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} PRIVATE include) target_compile_options(weeaboo PRIVATE -Wall -Wextra -Wsuggest-override) if(APPLE) target_compile_definitions(weeaboo PUBLIC MACOSX)