From b1d12a59e5066b954763f766571a59ae3d5da3a9 Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Thu, 21 Mar 2024 12:46:06 +0200 Subject: [PATCH] fixed cmake --- CMakeLists.txt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8cc319e3a..20791c135 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -352,15 +352,11 @@ set_target_properties(shadps4 PROPERTIES ) endif() -if(CMAKE_BUILD_TYPE STREQUAL "Debug") add_custom_command(TARGET shadps4 POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different - "${PROJECT_SOURCE_DIR}/externals/zlib-ng-win/bin/zlib-ngd2.dll" $) -else() -add_custom_command(TARGET shadps4 POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy_if_different - "${PROJECT_SOURCE_DIR}/externals/zlib-ng-win/bin/zlib-ng2.dll" $) -endif() + $ + $ +) if(NOT ENABLE_QT_GUI) add_custom_command(TARGET shadps4 POST_BUILD