From be9a26611f39061490b8cae28126cd6737b3cd00 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Sun, 26 Jul 2015 17:28:25 +0200 Subject: [PATCH] Simulators added to the Resources directory --- companion/src/firmwares/opentx/simulator/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/companion/src/firmwares/opentx/simulator/CMakeLists.txt b/companion/src/firmwares/opentx/simulator/CMakeLists.txt index 7900c92ea..130fa0286 100644 --- a/companion/src/firmwares/opentx/simulator/CMakeLists.txt +++ b/companion/src/firmwares/opentx/simulator/CMakeLists.txt @@ -179,6 +179,8 @@ if(APPLE) COMMAND install_name_tool -change /opt/local/Library/Frameworks/QtGui.framework/Versions/4/QtGui @executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui lib${_file}.dylib COMMAND install_name_tool -change @rpath/SDL.framework/Versions/A/SDL @executable_path/../Frameworks/SDL.framework/Versions/A/SDL lib${_file}.dylib WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + COMMAND pwd + COMMAND cp lib${_file}.dylib companion.app/Contents/Resources/ DEPENDS ${_file} ) list(APPEND SIMULATOR_BUNDLES ${SIMULATOR_BUNDLE})