From 45311c7d421f5152cb639cf46c222994ff4aa271 Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Wed, 6 Oct 2010 23:37:00 +0000 Subject: [PATCH] When using Visual Studio, always use the included Glut distribution, hence GLUT_FOUND = true. GLUT detection is a todo for MinGW. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c7bc742a..450cc80d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)