|
@ -61,12 +61,13 @@ macro(eth_install_executable EXECUTABLE) |
|
|
|
|
|
|
|
|
if (ETH_INSTALL_EXECUTABLE_QMLDIR) |
|
|
if (ETH_INSTALL_EXECUTABLE_QMLDIR) |
|
|
set(eth_qml_dir "-qmldir=${ETH_INSTALL_EXECUTABLE_QMLDIR}") |
|
|
set(eth_qml_dir "-qmldir=${ETH_INSTALL_EXECUTABLE_QMLDIR}") |
|
|
|
|
|
message(STATUS "${EXECUTABLE} qmldir: ${eth_qml_dir}") |
|
|
endif() |
|
|
endif() |
|
|
|
|
|
|
|
|
if (APPLE) |
|
|
if (APPLE) |
|
|
# First have qt5 install plugins and frameworks |
|
|
# First have qt5 install plugins and frameworks |
|
|
add_custom_command(TARGET ${EXECUTABLE} POST_BUILD |
|
|
add_custom_command(TARGET ${EXECUTABLE} POST_BUILD |
|
|
COMMAND ${MACDEPLOYQT_APP} ${eth_qml_dir} ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${EXECUTABLE}.app |
|
|
COMMAND ${MACDEPLOYQT_APP} ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${EXECUTABLE}.app ${eth_qml_dir} |
|
|
WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) |
|
|
WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) |
|
|
|
|
|
|
|
|
# This tool and next will inspect linked libraries in order to determine which dependencies are required |
|
|
# This tool and next will inspect linked libraries in order to determine which dependencies are required |
|
|