X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=CMakeLists.txt;h=abcb734330e7168c305ed6f518734de440094856;hb=2ee52e8aac60f13cdbfb53adcacac57985f4e24f;hp=3506973d23821a835bc362bd5e94b438a0e468cb;hpb=7fb9a2ab3e2386488357b6e2ae3ed1108d1bb65b;p=lugaru.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 3506973..abcb734 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,10 @@ endif(NOT LUGARU_INSTALL_PREFIX) set(CMAKE_INSTALL_PREFIX "${LUGARU_INSTALL_PREFIX}" CACHE INTERNAL "Prefix prepended to install directories" FORCE) - +if(WIN32) + 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) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/") find_package(OpenAL REQUIRED)