call fixup_interface only on OS X

This commit is contained in:
Stephen Birarda 2016-01-19 15:42:46 -08:00 committed by Ryan Huffman
parent 86e2572001
commit b233f2710e

View file

@ -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")