mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-22 12:35:21 +00:00
Partial compilation fixes for osx
This commit is contained in:
parent
c5caaa9211
commit
50446f7fef
2 changed files with 7 additions and 1 deletions
|
@ -396,6 +396,12 @@ if(NOT MSVC)
|
|||
target_link_libraries(rpcs3 GLEW::GLEW)
|
||||
endif()
|
||||
|
||||
if(UNIX)
|
||||
find_package(X11 REQUIRED)
|
||||
target_include_directories(rpcs3 PUBLIC ${X11_INCLUDE_DIR})
|
||||
target_link_libraries(rpcs3 ${X11_LIBRARIES})
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(rpcs3 ws2_32.lib Winmm.lib Psapi.lib gdi32.lib VKstatic.1 glslang OSDependent OGLCompiler SPIRV HLSL setupapi.lib hidapi-hid Shlwapi.lib)
|
||||
if(NOT MSVC)
|
||||
|
|
|
@ -57,6 +57,6 @@ void gl::set_swapinterval(int interval)
|
|||
//No existing drawable or missing swap extension, EGL?
|
||||
LOG_ERROR(RSX, "Failed to set swap interval");
|
||||
#else
|
||||
LOG_UNIMPLEMENTED(RSX, "Swap control not implemented for this platform. Vsync options not available.");
|
||||
LOG_ERROR(RSX, "Swap control not implemented for this platform. Vsync options not available.");
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue