equal
deleted
inserted
replaced
34 if(NOT NOPNG) |
34 if(NOT NOPNG) |
35 #get the neme of the library (harmelss if it is static) |
35 #get the neme of the library (harmelss if it is static) |
36 string(REGEX REPLACE ".*/(.*)$" "\\1" PNG_LIBNAME "${PNG_LIBRARY}") |
36 string(REGEX REPLACE ".*/(.*)$" "\\1" PNG_LIBNAME "${PNG_LIBRARY}") |
37 endif() |
37 endif() |
38 |
38 |
|
39 set(frameworks_dir ${CMAKE_INSTALL_PREFIX}/${target_library_install_dir}) |
|
40 |
39 #this tool is present in qt 4.5 but only if you compile from sources |
41 #this tool is present in qt 4.5 but only if you compile from sources |
40 #from qt 4.6 is present also in the binary version |
42 #from qt 4.6 is present also in the binary version |
41 find_program(macdeployqt_executable NAMES macdeployqt macdeployqt-mac PATHS ${qt_base_dir}/bin) |
43 find_program(macdeployqt_executable NAMES macdeployqt macdeployqt-mac PATHS ${qt_base_dir}/bin) |
42 if(NOT macdeployqt_executable) |
44 if(NOT macdeployqt_executable) |
43 message(FATAL_ERROR "The utility macdeployqt is required to create the bundle (seached: ${qt_base_dir})") |
45 message(FATAL_ERROR "The utility macdeployqt is required to create the bundle (seached: ${qt_base_dir})") |