From a55886a4d9b620b98335cca8a9797541552ceef9 Mon Sep 17 00:00:00 2001 From: AurelienUoU Date: Wed, 15 May 2019 09:28:29 -0600 Subject: [PATCH] Second try to fix travis autotest adding x11 in macos packages --- .travis.yml | 1 + vpr7_x2p/vpr/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index e66b83732..a1644ef0e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -73,6 +73,7 @@ matrix: - gawk - libxml++ - qt5 + - x11 before_install: - source .travis/common.sh diff --git a/vpr7_x2p/vpr/CMakeLists.txt b/vpr7_x2p/vpr/CMakeLists.txt index 6707beed6..dd36cd222 100644 --- a/vpr7_x2p/vpr/CMakeLists.txt +++ b/vpr7_x2p/vpr/CMakeLists.txt @@ -20,6 +20,7 @@ if (ENABLE_VPR_GRAPHICS) if (NOT X11_FOUND) message(WARNING "Failed to find required X11 library (on debian/ubuntu try 'sudo apt-get install libx11-dev' to install)") #Disable + else () set(ENABLE_VPR_GRAPHICS false) endif() endif()