From fb3fbade130848673dea2d0a924faecedb9d9182 Mon Sep 17 00:00:00 2001 From: ShadIK02 <105523044+ShadIK02@users.noreply.github.com> Date: Sat, 21 May 2022 19:06:13 +0500 Subject: [PATCH] Update CMakeLists.txt fix on TARGET for building on macOS --- apps/openmw/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/CMakeLists.txt b/apps/openmw/CMakeLists.txt index f81885308..eff52f891 100644 --- a/apps/openmw/CMakeLists.txt +++ b/apps/openmw/CMakeLists.txt @@ -252,7 +252,7 @@ if(APPLE) configure_file("${OpenMW_BINARY_DIR}/openmw.cfg" ${BUNDLE_RESOURCES_DIR} COPYONLY) configure_file("${OpenMW_BINARY_DIR}/gamecontrollerdb.txt" ${BUNDLE_RESOURCES_DIR} COPYONLY) - add_custom_command(TARGET openmw + add_custom_command(TARGET tes3mp POST_BUILD COMMAND cp "${OpenMW_BINARY_DIR}/resources/version" "${BUNDLE_RESOURCES_DIR}/resources")