From 24e4418869899722151db46543c6b04db38d5a1c Mon Sep 17 00:00:00 2001
From: Federico Terzi <federicoterzi96@gmail.com>
Date: Fri, 20 Sep 2019 23:58:08 +0200
Subject: [PATCH] Add X11 flags on Cmake

---
 native/liblinuxbridge/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/native/liblinuxbridge/CMakeLists.txt b/native/liblinuxbridge/CMakeLists.txt
index dd74a8b..5d263e4 100644
--- a/native/liblinuxbridge/CMakeLists.txt
+++ b/native/liblinuxbridge/CMakeLists.txt
@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.0)
 project(liblinuxbridge)
 
 set (CMAKE_CXX_STANDARD 14)
+set (CMAKE_SHARED_LINKER_FLAGS "-lX11 -lXtst")
 
 add_library(linuxbridge STATIC bridge.cpp bridge.h)