Mercurial > minori
diff CMakeLists.txt @ 57:3c802806b74a
*: merge
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 28 Sep 2023 13:09:11 -0400 |
parents | 6ff7aabeb9d7 d10b6c6b432e |
children | 4c6dd5999b39 |
line wrap: on
line diff
--- a/CMakeLists.txt Thu Sep 28 12:35:21 2023 -0400 +++ b/CMakeLists.txt Thu Sep 28 13:09:11 2023 -0400 @@ -9,6 +9,7 @@ add_subdirectory(dep/anitomy) add_subdirectory(dep/animia) +add_subdirectory(dep/pugixml) # Fix for mingw64 list(APPEND CMAKE_FIND_LIBRARY_SUFFIXES ".dll.a" ".a") @@ -20,6 +21,7 @@ ${Qt5Widgets_LIBRARIES} ${CURL_LIBRARIES} anitomy + animia ) # We need Cocoa for some OS X stuff @@ -96,7 +98,7 @@ set_property(TARGET minori PROPERTY AUTOMOC ON) set_property(TARGET minori PROPERTY AUTORCC ON) -target_include_directories(minori PUBLIC ${Qt5Widgets_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} PRIVATE include) +target_include_directories(minori PUBLIC ${Qt5Widgets_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} PRIVATE include dep/pugixml/src) target_compile_options(minori PRIVATE -Wall -Wextra -Wsuggest-override) if(APPLE) target_compile_definitions(minori PUBLIC MACOSX)