[nostalgia] Fix MSVC build
This commit is contained in:
@@ -7,17 +7,10 @@ if(NOT MSVC)
|
||||
target_compile_options(NostalgiaGlUtils PRIVATE -Wsign-conversion)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
find_package(OpenGL REQUIRED)
|
||||
else()
|
||||
set(OPENGL_gl_LIBRARY GL)
|
||||
endif()
|
||||
find_package(glad REQUIRED)
|
||||
|
||||
target_link_libraries(
|
||||
NostalgiaGlUtils PUBLIC
|
||||
OxStd
|
||||
glad::glad
|
||||
glad
|
||||
)
|
||||
|
||||
install(
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include <OpenGL/gl3.h>
|
||||
#else
|
||||
#include <glad/glad.h>
|
||||
#include <gl/GL.h>
|
||||
#endif
|
||||
|
||||
#include <ox/std/error.hpp>
|
||||
|
||||
Reference in New Issue
Block a user