From 9a831c2a1580c789b49160112f30740ec7920b7f Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Mon, 3 Jun 2024 23:05:40 +0200 Subject: [PATCH] ci: avoid relative paths for placing floppybridge library Apparently, this won't work everywhere - flatpak failed with the relative paths --- external/floppybridge/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/floppybridge/CMakeLists.txt b/external/floppybridge/CMakeLists.txt index cb439f968..b2fe656f4 100644 --- a/external/floppybridge/CMakeLists.txt +++ b/external/floppybridge/CMakeLists.txt @@ -26,6 +26,6 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") message(STATUS "Linux platform detected") add_custom_command(TARGET floppybridge POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy $ ../../../plugins/ + COMMAND ${CMAKE_COMMAND} -E copy $ ${CMAKE_SOURCE_DIR}/plugins/ ) endif ()