diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-09-30 00:36:19 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-09-30 00:36:19 -0500 |
commit | 6f2b61b676a16482fdac70a58a8e875c4d68e713 (patch) | |
tree | e2f8b2376847b5b13b278572c0fae8a6bc4d0e82 /CMakeLists.txt | |
parent | dacd752bbf46f2afb08b4b8d730ba3619528dda4 (diff) |
Add configuration handling.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c609098..175aa56 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,24 +17,30 @@ qt_add_executable(getsuyomi src/archive.cpp src/getsuyomi.cpp src/fud_mem.cpp + src/config.cpp + src/luacxx.cpp ) include(warnings.cmake) target_compile_options(getsuyomi PRIVATE ${GETSUYOMI_WARNINGS}) find_package(Fud REQUIRED) -# find_dependency(minizip-ng REQUIRED) +find_package(Lua REQUIRED) +find_package(libzip REQUIRED) target_include_directories(getsuyomi PRIVATE - # libzip + ${libzip_INCLUDE_DIR} ${FUD_INCLUDE_DIR} - ${SDL2_INCLUDE_DIRS} + ${LUA_INCLUDE_DIR} ) +# message(FATAL_ERROR "WHAT ${LUA_LIBRARIES}") + target_link_libraries(getsuyomi PRIVATE Qt6::Widgets - zip + libzip::zip fud) +target_link_libraries(getsuyomi PRIVATE "${LUA_LIBRARIES}") set_target_properties( getsuyomi PROPERTIES @@ -48,3 +54,5 @@ set_target_properties( # WIN32_EXECUTABLE ON # MACOSX_BUNDLE ON #) + +add_subdirectory(resources) |