CMake: add note about library versioning
authorSylvain Beucler <beuc@beuc.net>
Sat, 5 May 2012 19:11:41 +0000 (19:11 +0000)
committerSylvain Beucler <beuc@beuc.net>
Sat, 5 May 2012 19:11:41 +0000 (19:11 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1310 7f0cb862-5218-0410-a997-914c9d46530a

CMakeLists.txt

index b1c2d5c..c446e60 100644 (file)
@@ -312,6 +312,11 @@ ELSE()
     #   http://sourceware.org/autobook/autobook/autobook_91.html#SEC91
     #   http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
     #   Current: -version-info 12:0:9 -> 3.9.0
+    #   Note: most platforms now prefer the latter major.minor.revision form
+    #   (e.g. FreeBSD, cf. http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8765),
+    #   or special-cased FreeGLUT long ago (e.g. .so.4 on OpenBSD), so
+    #   the lack of support for current:revision:age in CMake should
+    #   not be a problem.
     # - the output library should be named glut so it'll be linkable with -lglut
     # - the shared library should link to the dependency libraries so that the user
     #   won't have to link them explicitly (they shouldn't have to know that we depend