--- cmake/orig.PhononMacros.cmake 2016-05-16 01:53:33.000000000 +0200 +++ cmake/PhononMacros.cmake 2016-05-16 01:58:00.000000000 +0200 @@ -25,12 +25,18 @@ macro(phonon_add_declarative_plugin _target) set(_srcs ${ARGN}) add_library(${_target} MODULE ${_global_add_executable_param} ${_srcs}) + if(APPLE) + set_target_properties(${_target} PROPERTIES SUFFIX ".dylib") + endif(APPLE) endmacro(phonon_add_declarative_plugin _target) macro(phonon_add_designer_plugin _target _qrc_file) set(_srcs ${ARGN}) qt5_add_resources(_srcs ${_qrc_file}) add_library(${_target} MODULE ${_global_add_executable_param} ${_srcs}) + if(APPLE) + set_target_properties(${_target} PROPERTIES SUFFIX ".dylib") + endif(APPLE) endmacro(phonon_add_designer_plugin) macro (PHONON_UPDATE_ICONCACHE)