Merge changes from internal branch.

- Better support for win64.
This commit is contained in:
castano
2008-12-29 11:33:20 +00:00
parent 1975883bed
commit b8eb12afc1
7 changed files with 132 additions and 35 deletions

View File

@ -1,6 +1,7 @@
# - try to find glut library and include files
# GLUT_INCLUDE_DIR, where to find GL/glut.h, etc.
# GLUT_LIBRARIES, the libraries to link against
# GLUT_DEFINITIONS - You should ADD_DEFINITIONS(${GLUT_DEFINITIONS}) before compiling code that includes png library files.
# GLUT_FOUND, If false, do not try to use GLUT.
# Also defined, but not for general use are:
# GLUT_glut_LIBRARY = the full path to the glut library.
@ -9,6 +10,10 @@
IF (WIN32)
# By default the GLUT include tries to autolink using #pragma directives, but those
# interfere with the other cmake definitions
SET (GLUT_DEFINITIONS -DGLUT_NO_LIB_PRAGMA)
IF(CYGWIN)
FIND_PATH( GLUT_INCLUDE_DIR GL/glut.h