mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-26 02:14:15 +08:00
Added opengl32 lib and declared glew as static
This commit is contained in:
parent
78ffbc6571
commit
cb0e1dff25
@ -115,6 +115,7 @@ target_link_libraries(${LIB_STEAM_API}
|
|||||||
$<$<BOOL:${WIN32}>:ws2_32>
|
$<$<BOOL:${WIN32}>:ws2_32>
|
||||||
$<$<BOOL:${WIN32}>:iphlpapi>
|
$<$<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}>>>:glew32s.lib>
|
||||||
|
$<$<AND:$<BOOL:${WIN32}>,$<BOOL:${EMU_EXPERIMENTAL_BUILD}>,$<NOT:$<BOOL:${NO_OVERLAY}>>>:opengl32.lib>
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add target compile definitions
|
# Add target compile definitions
|
||||||
@ -126,6 +127,7 @@ target_compile_definitions(${LIB_STEAM_API}
|
|||||||
$<$<CONFIG:MinSizeRel>:EMU_RELEASE_BUILD>
|
$<$<CONFIG:MinSizeRel>:EMU_RELEASE_BUILD>
|
||||||
$<$<BOOL:${EMU_EXPERIMENTAL_BUILD}>:EMU_EXPERIMENTAL_BUILD>
|
$<$<BOOL:${EMU_EXPERIMENTAL_BUILD}>:EMU_EXPERIMENTAL_BUILD>
|
||||||
$<$<BOOL:${NO_OVERLAY}>:NO_OVERLAY>
|
$<$<BOOL:${NO_OVERLAY}>:NO_OVERLAY>
|
||||||
|
$<$<AND:$<BOOL:${WIN32}>,$<BOOL:${EMU_EXPERIMENTAL_BUILD}>,$<NOT:$<BOOL:${NO_OVERLAY}>>>:GLEW_STATIC>
|
||||||
)
|
)
|
||||||
|
|
||||||
# Install the target
|
# Install the target
|
||||||
|
@ -94,5 +94,4 @@ namespace ImGui
|
|||||||
|
|
||||||
#define IMGUI_INCLUDE_IMGUI_USER_H
|
#define IMGUI_INCLUDE_IMGUI_USER_H
|
||||||
|
|
||||||
#define GLEW_STATIC
|
|
||||||
#define IMGUI_IMPL_OPENGL_LOADER_GLEW
|
#define IMGUI_IMPL_OPENGL_LOADER_GLEW
|
Loading…
x
Reference in New Issue
Block a user