Force include headers on CMake linux
This commit is contained in:
parent
f89899083e
commit
4746ef4e42
|
@ -4,8 +4,6 @@ set -ex
|
|||
|
||||
# TODO This is the "test phase", tweak it as you see fit
|
||||
main() {
|
||||
ls -lR /usr/include
|
||||
|
||||
cross build --target $TARGET
|
||||
cross build --target $TARGET --release
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0)
|
|||
project(liblinuxbridge)
|
||||
|
||||
set (CMAKE_CXX_STANDARD 14)
|
||||
set (CMAKE_SHARED_LINKER_FLAGS "-lX11 -lXtst")
|
||||
set(CMAKE_REQUIRED_INCLUDES "/usr/local/include" "/usr/include")
|
||||
|
||||
add_library(linuxbridge STATIC bridge.cpp bridge.h)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user