From 8ef7b23c04252200ccb15a3463a30f964bbcfe81 Mon Sep 17 00:00:00 2001 From: Marco Serantoni Date: Sun, 23 Mar 2014 02:50:33 +0100 Subject: [PATCH] [MacOSX] forgot pl_editor, thanks Jean-Paul for pointing it --- pagelayout_editor/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pagelayout_editor/CMakeLists.txt b/pagelayout_editor/CMakeLists.txt index e59bde050e..95ce1af27f 100644 --- a/pagelayout_editor/CMakeLists.txt +++ b/pagelayout_editor/CMakeLists.txt @@ -113,6 +113,14 @@ if( USE_KIWAY_DLLS ) COMPONENT binary ) + if( APPLE ) + # copies kiface into the bundle + add_custom_target( _pleditor_kiface_copy ALL + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}/pagelayout_editor/_pl_editor.kiface "${CMAKE_BINARY_DIR}/pagelayout_editor/pl_editor.app/Contents/MacOS/" + DEPENDS pl_editor_kiface + COMMENT "Copying kiface into pleditor" + ) + endif() else()