From b233f2710ef6a64a20cd6e32c138c79524ff30cd Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 19 Jan 2016 15:42:46 -0800 Subject: [PATCH] call fixup_interface only on OS X --- interface/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt index 91a0abb3ee..7b0545c277 100644 --- a/interface/CMakeLists.txt +++ b/interface/CMakeLists.txt @@ -219,6 +219,9 @@ if (APPLE) set(SCRIPTS_INSTALL_DIR "${INTERFACE_INSTALL_APP_PATH}/Contents/Resources") + # call the fixup_interface macro to add required bundling commands for installation + fixup_interface() + else (APPLE) # copy the resources files beside the executable add_custom_command(TARGET ${TARGET_NAME} POST_BUILD @@ -258,9 +261,6 @@ if (SCRIPTS_INSTALL_DIR) ) endif() -# call the fixup_interface macro to add required bundling commands for installation -fixup_interface() - if (WIN32) set(EXTRA_DEPLOY_OPTIONS "--qmldir ${PROJECT_SOURCE_DIR}/resources/qml")