Add X11 flags on Cmake

This commit is contained in:
Federico Terzi 2019-09-20 23:58:08 +02:00
parent b21c7bd399
commit 24e4418869

View File

@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.0)
project(liblinuxbridge) project(liblinuxbridge)
set (CMAKE_CXX_STANDARD 14) set (CMAKE_CXX_STANDARD 14)
set (CMAKE_SHARED_LINKER_FLAGS "-lX11 -lXtst")
add_library(linuxbridge STATIC bridge.cpp bridge.h) add_library(linuxbridge STATIC bridge.cpp bridge.h)