Specify correct plugin suffix
CMake by default uses the ".so" suffix for libraries with the `MODULE` attribute.  Specify the desired suffix with by setting the `SUFFIX` property explicitly on the plugin targets.  Fixes plugin install issue on Macs.
@@ -54,6 +54,7 @@ MACRO(buildplugin TARGET TARGETLIB)
SET_TARGET_PROPERTIES(${TARGET} PROPERTIES ARCHIVE_OUTPUT_NAME ${MANGLELIB})
SET_TARGET_PROPERTIES(${TARGET} PROPERTIES RUNTIME_OUTPUT_NAME ${MANGLELIB})
SET_TARGET_PROPERTIES(${TARGET} PROPERTIES PREFIX "") # Critical that this be set to ""
+ SET_TARGET_PROPERTIES(${TARGET} PROPERTIES SUFFIX ".${PLUGINEXT}")
TARGET_LINK_LIBRARIES(${TARGET} ${ALL_TLL_LIBS};${ARGN})
IF(MSVC)
target_compile_options(${TARGET} PRIVATE /Zi)
