Ticket #46552: patch-cmake_PhononMacros.cmake.diff
File patch-cmake_PhononMacros.cmake.diff, 825 bytes (added by RJVB (René Bertin), 8 years ago) |
---|
-
PhononMacros.cmake
old new 25 25 macro(phonon_add_declarative_plugin _target) 26 26 set(_srcs ${ARGN}) 27 27 add_library(${_target} MODULE ${_global_add_executable_param} ${_srcs}) 28 if(APPLE) 29 set_target_properties(${_target} PROPERTIES SUFFIX ".dylib") 30 endif(APPLE) 28 31 endmacro(phonon_add_declarative_plugin _target) 29 32 30 33 macro(phonon_add_designer_plugin _target _qrc_file) 31 34 set(_srcs ${ARGN}) 32 35 qt5_add_resources(_srcs ${_qrc_file}) 33 36 add_library(${_target} MODULE ${_global_add_executable_param} ${_srcs}) 37 if(APPLE) 38 set_target_properties(${_target} PROPERTIES SUFFIX ".dylib") 39 endif(APPLE) 34 40 endmacro(phonon_add_designer_plugin) 35 41 36 42 macro (PHONON_UPDATE_ICONCACHE)