From 47850ace4927b35c441321056666463c5331a870 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sat, 4 Jul 2020 15:14:14 +0200 Subject: [PATCH] Remove leftovers from _run target See c66420b1dc47846f37d4e5bf86ea6a1d25828499 --- cmake/modules/AppTarget.cmake | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/cmake/modules/AppTarget.cmake b/cmake/modules/AppTarget.cmake index e15b5d2..9b4d6fa 100644 --- a/cmake/modules/AppTarget.cmake +++ b/cmake/modules/AppTarget.cmake @@ -171,23 +171,6 @@ if (NOT META_NO_INSTALL_TARGETS AND ENABLE_INSTALL_TARGETS) endif () endif () -# add target for launching application with wine ensuring the WINEPATH is set correctly so wine is able to find all required -# *.dll files requires script from c++utilities, hence the sources of c++utilities must be present -if (MINGW - AND CMAKE_CROSSCOMPILING - AND CPP_UTILITIES_SOURCE_DIR) - if (NOT TARGET ${META_PROJECT_NAME}_run) - if (CMAKE_FIND_ROOT_PATH) - list(APPEND RUNTIME_LIBRARY_PATH "${CMAKE_FIND_ROOT_PATH}/bin") - endif () - add_custom_target( - ${META_PROJECT_NAME}_run - COMMAND "${CPP_UTILITIES_SOURCE_DIR}/scripts/wine.sh" - "${CMAKE_CURRENT_BINARY_DIR}/${META_PROJECT_NAME}${WINDOWS_EXT}" ${RUNTIME_LIBRARY_PATH}) - add_dependencies(${META_PROJECT_NAME}_run ${META_PROJECT_NAME}) - endif () -endif () - # find template for *.desktop and AppStream files include(TemplateFinder) find_template_file("desktop" CPP_UTILITIES APP_DESKTOP_TEMPLATE_FILE)