mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 14:25:46 -04:00
Build: Don't link with glad if GL is disabled
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
add_subdirectory(fmt)
|
||||
add_subdirectory(gsl)
|
||||
add_subdirectory(glad)
|
||||
add_subdirectory(stb)
|
||||
add_subdirectory(zlib)
|
||||
add_subdirectory(zstd)
|
||||
@ -22,6 +21,10 @@ if(ENABLE_CUBEB)
|
||||
add_subdirectory(cubeb)
|
||||
endif()
|
||||
|
||||
if(ENABLE_OPENGL)
|
||||
add_subdirectory(glad)
|
||||
endif()
|
||||
|
||||
if(ENABLE_DISCORD_PRESENCE)
|
||||
add_subdirectory(discord-rpc)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user