Merge remote-tracking branch 'svn/trunk' into git_master
This commit is contained in:
commit
b1316c651f
@ -21,6 +21,11 @@ set(VERSION_PATCH 0)
|
|||||||
# Update fg_version.h to match the versions number here in cmake
|
# Update fg_version.h to match the versions number here in cmake
|
||||||
CONFIGURE_FILE(src/fg_version.h.in src/fg_version.h)
|
CONFIGURE_FILE(src/fg_version.h.in src/fg_version.h)
|
||||||
|
|
||||||
|
# shared lib version numbers (change before release)
|
||||||
|
set(SO_MAJOR 3) # increment on backwards incompatible API/ABI changes
|
||||||
|
set(SO_MINOR 10) # increment on backwards compatible or internal changes
|
||||||
|
set(SO_REV 0) # if nothing else changed increment this
|
||||||
|
|
||||||
# FREEGLUT_BUILD_SHARED_LIBS is already a standard CMake variable, but we need to
|
# FREEGLUT_BUILD_SHARED_LIBS is already a standard CMake variable, but we need to
|
||||||
# re-declare it here so it will show up in the GUI.
|
# re-declare it here so it will show up in the GUI.
|
||||||
# by default, we want to build both
|
# by default, we want to build both
|
||||||
@ -371,7 +376,7 @@ ELSE()
|
|||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
IF(FREEGLUT_BUILD_SHARED_LIBS)
|
IF(FREEGLUT_BUILD_SHARED_LIBS)
|
||||||
SET_TARGET_PROPERTIES(freeglut PROPERTIES VERSION 3.9.0 SOVERSION 3 OUTPUT_NAME ${LIBNAME})
|
SET_TARGET_PROPERTIES(freeglut PROPERTIES VERSION ${SO_MAJOR}.${SO_MINOR}.${SO_REV} SOVERSION ${SO_MAJOR} OUTPUT_NAME ${LIBNAME})
|
||||||
ENDIF()
|
ENDIF()
|
||||||
IF(FREEGLUT_BUILD_STATIC_LIBS)
|
IF(FREEGLUT_BUILD_STATIC_LIBS)
|
||||||
SET_TARGET_PROPERTIES(freeglut_static PROPERTIES OUTPUT_NAME ${LIBNAME})
|
SET_TARGET_PROPERTIES(freeglut_static PROPERTIES OUTPUT_NAME ${LIBNAME})
|
||||||
|
@ -39,6 +39,8 @@
|
|||||||
# include <sys/param.h>
|
# include <sys/param.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
|
||||||
/*this should be defined in a header file */
|
/*this should be defined in a header file */
|
||||||
#define MAX_NUM_JOYSTICKS 2
|
#define MAX_NUM_JOYSTICKS 2
|
||||||
|
Reference in New Issue
Block a user