mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2026-08-03 12:42:12 +00:00
add X11 to PLATFORM_LIBARIES when found
This commit is contained in:
parent
7038c1aeb0
commit
010440dbd3
@ -354,6 +354,7 @@ else()
|
||||
if(X11_FOUND)
|
||||
add_compile_definitions(SUNSHINE_BUILD_X11)
|
||||
include_directories(${X11_INCLUDE_DIR})
|
||||
list(APPEND PLATFORM_LIBRARIES ${X11_LIBRARIES})
|
||||
list(APPEND PLATFORM_TARGET_FILES src/platform/linux/x11grab.cpp)
|
||||
endif()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user