equal
deleted
inserted
replaced
26 |
26 |
27 #use the associated tool from the libraries we've selected |
27 #use the associated tool from the libraries we've selected |
28 string(REGEX REPLACE "(.*)/include.*" "\\1" qt_base_dir "${QT_INCLUDE_DIR}") |
28 string(REGEX REPLACE "(.*)/include.*" "\\1" qt_base_dir "${QT_INCLUDE_DIR}") |
29 find_program(macdeployqt_EXE NAMES macdeployqt macdeployqt-mac PATHS ${qt_base_dir}/bin NO_DEFAULT_PATH) |
29 find_program(macdeployqt_EXE NAMES macdeployqt macdeployqt-mac PATHS ${qt_base_dir}/bin NO_DEFAULT_PATH) |
30 |
30 |
|
31 #this tool is present in qt 4.5 but only if you compile from sources; from qt 4.6 is present also in the binary version |
31 if(NOT macdeployqt_EXE) |
32 if(NOT macdeployqt_EXE) |
32 message(FATAL_ERROR "The utility macdeployqt is required to create the bundle!") |
33 message(FATAL_ERROR "The utility macdeployqt is required to create the bundle!") |
33 endif() |
34 endif() |
34 |
35 |
35 #dummy target, we're interested in the postscript file |
36 #dummy target, we're interested in the postscript file |