Merge changes from internal branch.
- Better support for win64.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user