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