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()