Changeset View
Changeset View
Standalone View
Standalone View
src/qt/CMakeLists.txt
Show First 20 Lines • Show All 466 Lines • ▼ Show 20 Lines | if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") | ||||
endfunction() | endfunction() | ||||
get_qt_translation_dir(QT_TRANSLATION_DIR ${QT_BASE_TRANSLATIONS}) | get_qt_translation_dir(QT_TRANSLATION_DIR ${QT_BASE_TRANSLATIONS}) | ||||
if(NOT QT_TRANSLATION_DIR) | if(NOT QT_TRANSLATION_DIR) | ||||
message(FATAL_ERROR "Qt translation files are not found") | message(FATAL_ERROR "Qt translation files are not found") | ||||
endif() | endif() | ||||
set(MACDEPLOY_DIR "${CMAKE_SOURCE_DIR}/contrib/macdeploy") | set(MACDEPLOY_DIR "${CMAKE_SOURCE_DIR}/contrib/macdeploy") | ||||
set(MACDEPLOYQTPLUS "${MACDEPLOY_DIR}/macdeployqtplus") | set(MACDEPLOYQTPLUS "${MACDEPLOY_DIR}/macdeployqtplus.py") | ||||
set(DMG_DIST "${CMAKE_BINARY_DIR}/dist") | set(DMG_DIST "${CMAKE_BINARY_DIR}/dist") | ||||
add_custom_command( | add_custom_command( | ||||
OUTPUT | OUTPUT | ||||
"${DMG_DIST}" | "${DMG_DIST}" | ||||
COMMAND | COMMAND | ||||
"INSTALLNAMETOOL=${CMAKE_INSTALL_NAME_TOOL}" | "INSTALLNAMETOOL=${CMAKE_INSTALL_NAME_TOOL}" | ||||
"OTOOL=${CMAKE_OTOOL}" | "OTOOL=${CMAKE_OTOOL}" | ||||
"STRIP=${CMAKE_STRIP}" | "STRIP=${CMAKE_STRIP}" | ||||
▲ Show 20 Lines • Show All 143 Lines • Show Last 20 Lines |