Skip to content

Commit

Permalink
Debug printing
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitsune Ral committed Dec 27, 2023
1 parent 7147b02 commit 2f94211
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,13 @@ endif(WIN32)

if(APPLE)
execute_process(
COMMAND ${QT_QMAKE_EXECUTABLE} -query QT_INSTALL_TRANSLATIONS
COMMAND "${${Qt}_BinDir}/qmake -query QT_INSTALL_TRANSLATIONS
OUTPUT_VARIABLE _qt_translations_dir
OUTPUT_STRIP_TRAILING_WHITESPACE
COMMAND_ECHO STDERR
COMMAND_ERROR_IS_FATAL ANY
)
message(STATUS "${_qt_translations_dir}")
set(MACDEPLOYQT_ARGS ${PROJECT_NAME}.app -dmg -qmldir="${QML_DIR}" -verbose=${DEPLOY_VERBOSITY})
add_custom_target(image
COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_NAME}.app/Contents/Translations
Expand Down

0 comments on commit 2f94211

Please sign in to comment.