diff --git a/ci/script.sh b/ci/script.sh index a4088e3..293504d 100644 --- a/ci/script.sh +++ b/ci/script.sh @@ -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 diff --git a/native/liblinuxbridge/CMakeLists.txt b/native/liblinuxbridge/CMakeLists.txt index 5d263e4..4f44763 100644 --- a/native/liblinuxbridge/CMakeLists.txt +++ b/native/liblinuxbridge/CMakeLists.txt @@ -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)