diff options
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) |