gplugin/gplugin

Only set the soname when we're on unix but not osx
develop
2017-02-19, Gary Kramlich
09ff276c23f9
Only set the soname when we're on unix but not osx
--- a/gplugin/CMakeLists.txt Sun Feb 19 03:05:08 2017 -0600
+++ b/gplugin/CMakeLists.txt Sun Feb 19 03:11:04 2017 -0600
@@ -171,10 +171,12 @@
gplugin-native.h
)
-set_target_properties(gplugin PROPERTIES
- SOVERSION ${GPLUGIN_LD_CURRENT}
- VERSION ${GPLUGIN_LD_VERSION}
-)
+if(UNIX AND NOT APPLE)
+ set_target_properties(gplugin PROPERTIES
+ SOVERSION ${GPLUGIN_LD_CURRENT}
+ VERSION ${GPLUGIN_LD_VERSION}
+ )
+endif(UNIX AND NOT APPLE)
target_link_libraries(gplugin
${GLIB_LIBRARIES}