Skip to content

Commit

Permalink
Cleaning up remains of glu
Browse files Browse the repository at this point in the history
  • Loading branch information
Flyingsky committed Jan 26, 2020
1 parent bcb6fd9 commit 04df49e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ endif()

if(TARGET_OS STREQUAL "windows")
set(PLATFORM_CLIENT)
set(PLATFORM_CLIENT_LIBS opengl32 glu32 winmm)
set(PLATFORM_CLIENT_LIBS opengl32 winmm)
set(PLATFORM_LIBS ws2_32) # Windows sockets
elseif(TARGET_OS STREQUAL "mac")
find_library(CARBON Carbon)
Expand All @@ -410,7 +410,7 @@ else()
set(PLATFORM_CLIENT)
find_package(OpenGL)
find_package(X11)
set(PLATFORM_CLIENT_LIBS ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} ${X11_X11_LIB})
set(PLATFORM_CLIENT_LIBS ${OPENGL_gl_LIBRARY} ${X11_X11_LIB})
set(PLATFORM_CLIENT_INCLUDE_DIRS ${OPENGL_INCLUDE_DIR} ${X11_X11_INCLUDE_PATH})
if(TARGET_OS STREQUAL "linux")
set(PLATFORM_LIBS rt) # clock_gettime for glibc < 2.17
Expand Down
1 change: 0 additions & 1 deletion bam.lua
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ function GenerateWindowsSettings(settings, conf, target_arch, compiler)
settings.link.extrafiles:Add(icons.client)
settings.link.extrafiles:Add(manifests.client)
settings.link.libs:Add("opengl32")
settings.link.libs:Add("glu32")
settings.link.libs:Add("winmm")
BuildClient(settings)

Expand Down

0 comments on commit 04df49e

Please sign in to comment.