Remove graphics on MacOS -> X11 deprecated and cannot be found by travis

This commit is contained in:
AurelienUoU 2019-05-15 10:39:20 -06:00
parent a55886a4d9
commit 41dc359b50
2 changed files with 6 additions and 1 deletions

View File

@ -50,6 +50,8 @@ matrix:
- libxml++2.6-dev - libxml++2.6-dev
- perl - perl
- python - python
- readline # added to fit Icarus installation requirement
- termcap # added to fit Icarus installation requirement
- texinfo - texinfo
- time - time
- valgrind - valgrind
@ -73,7 +75,6 @@ matrix:
- gawk - gawk
- libxml++ - libxml++
- qt5 - qt5
- x11
before_install: before_install:
- source .travis/common.sh - source .travis/common.sh

View File

@ -22,7 +22,11 @@ project("OPENFPGA" C CXX)
# Options # Options
# Option to enable/disable graphic in compilation # Option to enable/disable graphic in compilation
if (APPLE)
option(ENABLE_VPR_GRAPHICS "Disables VPR graphics" OFF)
else ()
option(ENABLE_VPR_GRAPHICS "Enables VPR graphics" ON) option(ENABLE_VPR_GRAPHICS "Enables VPR graphics" ON)
endif ()
# Version number # Version number
set(OPENFPGA_VERSION_MAJOR 1) set(OPENFPGA_VERSION_MAJOR 1)