diff --git a/CMakeLists.txt b/CMakeLists.txt index 67d11a6..84e588c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,10 @@ set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) +set(ZSTD_TAG release) +set(ZLIB_TAG develop) +set(MZ_FORCE_FETCH_LIBS ON) + find_package(Qt5 COMPONENTS Core Gui @@ -43,3 +47,13 @@ target_link_libraries(SnakeQT Qt5::Network minizip ) + +add_custom_command( + TARGET SnakeQT POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy_if_different $ $ + COMMAND ${CMAKE_COMMAND} -E copy_if_different $ $ + COMMAND ${CMAKE_COMMAND} -E copy_if_different $ $ + COMMAND ${CMAKE_COMMAND} -E copy_if_different $ $ + COMMAND ${CMAKE_COMMAND} -E copy_if_different $ $ + COMMAND ${CMAKE_COMMAND} -E copy_if_different $ $ +) \ No newline at end of file