mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-12-24 19:58:37 +01:00
Added opengl32 lib and declared glew as static
This commit is contained in:
parent
78ffbc6571
commit
cb0e1dff25
2 changed files with 2 additions and 1 deletions
|
@ -115,6 +115,7 @@ target_link_libraries(${LIB_STEAM_API}
|
|||
$<$<BOOL:${WIN32}>:ws2_32>
|
||||
$<$<BOOL:${WIN32}>:iphlpapi>
|
||||
$<$<AND:$<BOOL:${WIN32}>,$<BOOL:${EMU_EXPERIMENTAL_BUILD}>,$<NOT:$<BOOL:${NO_OVERLAY}>>>:glew32s.lib>
|
||||
$<$<AND:$<BOOL:${WIN32}>,$<BOOL:${EMU_EXPERIMENTAL_BUILD}>,$<NOT:$<BOOL:${NO_OVERLAY}>>>:opengl32.lib>
|
||||
)
|
||||
|
||||
# Add target compile definitions
|
||||
|
@ -126,6 +127,7 @@ target_compile_definitions(${LIB_STEAM_API}
|
|||
$<$<CONFIG:MinSizeRel>:EMU_RELEASE_BUILD>
|
||||
$<$<BOOL:${EMU_EXPERIMENTAL_BUILD}>:EMU_EXPERIMENTAL_BUILD>
|
||||
$<$<BOOL:${NO_OVERLAY}>:NO_OVERLAY>
|
||||
$<$<AND:$<BOOL:${WIN32}>,$<BOOL:${EMU_EXPERIMENTAL_BUILD}>,$<NOT:$<BOOL:${NO_OVERLAY}>>>:GLEW_STATIC>
|
||||
)
|
||||
|
||||
# Install the target
|
||||
|
|
|
@ -94,5 +94,4 @@ namespace ImGui
|
|||
|
||||
#define IMGUI_INCLUDE_IMGUI_USER_H
|
||||
|
||||
#define GLEW_STATIC
|
||||
#define IMGUI_IMPL_OPENGL_LOADER_GLEW
|
Loading…
Reference in a new issue