Refactor Cop1 pt.2 + fix build
This commit is contained in:
@@ -4,6 +4,7 @@ project(kaizen-qt)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
|
||||
find_package(SDL2 REQUIRED)
|
||||
|
||||
include_directories(
|
||||
.
|
||||
@@ -31,6 +32,7 @@ include_directories(
|
||||
../../external/imgui/imgui
|
||||
../../external/imgui/imgui/backends
|
||||
../../external/unarr
|
||||
${SDL2_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
option(RAPIDJSON_BUILD_DOC "Build rapidjson documentation." OFF)
|
||||
@@ -70,7 +72,8 @@ add_executable(kaizen-qt
|
||||
InputSettings.hpp
|
||||
InputSettings.cpp)
|
||||
|
||||
target_link_libraries(kaizen-qt PUBLIC Qt6::Core Qt6::Gui Qt6::Widgets fmt mio nlohmann_json nfd parallel-rdp backend)
|
||||
target_link_libraries(kaizen-qt PUBLIC Qt6::Core Qt6::Gui Qt6::Widgets fmt mio nlohmann_json nfd SDL2::SDL2 parallel-rdp backend)
|
||||
target_compile_definitions(kaizen-qt PUBLIC SDL_MAIN_HANDLED)
|
||||
|
||||
file(COPY ../../resources/ DESTINATION ${PROJECT_BINARY_DIR}/resources/)
|
||||
file(REMOVE
|
||||
|
||||
Reference in New Issue
Block a user