From 68de91c49dae0870cfd2c39e22c0ae0666f5c05f Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Fri, 14 May 2010 02:14:01 -0500 Subject: [PATCH] Fixed conditional with configuring OpenGL to only activate with MinGW --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d524e8c..be82095 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,10 +25,10 @@ endif(NOT LUGARU_INSTALL_PREFIX) set(CMAKE_INSTALL_PREFIX "${LUGARU_INSTALL_PREFIX}" CACHE INTERNAL "Prefix prepended to install directories" FORCE) -if(WIN32) +if(MINGW) set(OPENGL_gl_LIBRARY "-lopengl32" CACHE STRING "OpenGL library for Win32" FORCE) set(OPENGL_glu_LIBRARY "-lglu32" CACHE STRING "GLU library for Win32" FORCE) -endif(WIN32) +endif(MINGW) -- 2.39.2