Second try to fix travis autotest adding x11 in macos packages

This commit is contained in:
AurelienUoU 2019-05-15 09:28:29 -06:00
parent 1961b18d14
commit a55886a4d9
2 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,7 @@ matrix:
- gawk
- libxml++
- qt5
- x11
before_install:
- source .travis/common.sh

View File

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