When using Visual Studio, always use the included Glut distribution, hence GLUT_FOUND = true.

GLUT detection is a todo for MinGW.
This commit is contained in:
erwin.coumans
2010-10-06 23:37:00 +00:00
parent cbeb5864eb
commit 45311c7d42

View File

@@ -246,8 +246,11 @@ IF (USE_GLUT)
IF (MINGW)
MESSAGE ("GLUT NOT FOUND not found, trying to use MINGW glut32")
SET(GLUT_glut_LIBRARY glut32)
#TODO add better GLUT detection for MinGW
SET(GLUT_FOUND TRUE)
ENDIF (MINGW)
IF (MSVC)
SET(GLUT_FOUND TRUE)
IF (CMAKE_CL_64)
message("Win64 using Glut/glut64.lib")
SET(GLUT_glut_LIBRARY ${BULLET_PHYSICS_SOURCE_DIR}/Glut/glut64.lib)