diff options
author | Mehdi Chinoune <mehdi.chinoune@hotmail.com> | 2022-04-11 05:02:35 (GMT) |
---|---|---|
committer | Mehdi Chinoune <mehdi.chinoune@hotmail.com> | 2022-04-11 05:02:35 (GMT) |
commit | 804ce3ee42f3526ddd81d0a603ffc7ef2d434161 (patch) | |
tree | f113c9d5367f97ddc2c8cbb04fe2445458fce3f2 | |
parent | 591426f5a0ff9d442753105031313e704b972d29 (diff) | |
download | CMake-804ce3ee42f3526ddd81d0a603ffc7ef2d434161.zip CMake-804ce3ee42f3526ddd81d0a603ffc7ef2d434161.tar.gz CMake-804ce3ee42f3526ddd81d0a603ffc7ef2d434161.tar.bz2 |
FindGLUT: Search for "freeglut" first On Windows
-rw-r--r-- | Modules/FindGLUT.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindGLUT.cmake b/Modules/FindGLUT.cmake index 7a16048..d12a6d2 100644 --- a/Modules/FindGLUT.cmake +++ b/Modules/FindGLUT.cmake @@ -111,7 +111,7 @@ if(WIN32) find_path( GLUT_INCLUDE_DIR NAMES GL/glut.h PATHS ${GLUT_ROOT_PATH}/include ) mark_as_advanced(GLUT_INCLUDE_DIR) - find_library( GLUT_glut_LIBRARY_RELEASE NAMES glut glut32 freeglut + find_library( GLUT_glut_LIBRARY_RELEASE NAMES freeglut glut glut32 PATHS ${OPENGL_LIBRARY_DIR} ${GLUT_ROOT_PATH}/Release |