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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user