Skip to content

Commit

Permalink
Fix key mapping on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Petronella authored and jp9000 committed Apr 2, 2020
1 parent bbe1b34 commit ae25c36
Show file tree
Hide file tree
Showing 3 changed files with 781 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ if(APPLE)
endif()
endif()

if(UNIX AND NOT APPLE)
find_package(X11 REQUIRED)
if(NOT X11_FOUND)
message(STATUS "X11 Not found -- obs-browser plugin disabled.")
return()
endif()
include_directories("${X11_INCLUDE_DIR}")
endif()


configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/browser-config.h.in"
"${CMAKE_CURRENT_BINARY_DIR}/browser-config.h")
Expand Down

0 comments on commit ae25c36

Please sign in to comment.