Add X11 flags on Cmake
This commit is contained in:
parent
b21c7bd399
commit
24e4418869
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user