From cb0e1dff25c9198e57038715cc3ebdc0256386ac Mon Sep 17 00:00:00 2001 From: Nemirtingas Date: Fri, 16 Aug 2019 11:11:13 +0200 Subject: [PATCH] Added opengl32 lib and declared glew as static --- CMakeLists.txt | 2 ++ ImGui/imconfig.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a0b19c5..f4db082 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -115,6 +115,7 @@ target_link_libraries(${LIB_STEAM_API} $<$:ws2_32> $<$:iphlpapi> $<$,$,$>>:glew32s.lib> + $<$,$,$>>:opengl32.lib> ) # Add target compile definitions @@ -126,6 +127,7 @@ target_compile_definitions(${LIB_STEAM_API} $<$:EMU_RELEASE_BUILD> $<$:EMU_EXPERIMENTAL_BUILD> $<$:NO_OVERLAY> + $<$,$,$>>:GLEW_STATIC> ) # Install the target diff --git a/ImGui/imconfig.h b/ImGui/imconfig.h index 2bc8568..3afdd4b 100644 --- a/ImGui/imconfig.h +++ b/ImGui/imconfig.h @@ -94,5 +94,4 @@ namespace ImGui #define IMGUI_INCLUDE_IMGUI_USER_H -#define GLEW_STATIC #define IMGUI_IMPL_OPENGL_LOADER_GLEW \ No newline at end of file