Force graphics to false

This commit is contained in:
AurelienUoU 2019-05-15 15:01:54 -06:00
parent f940c4fd59
commit e44e228153
1 changed files with 2 additions and 3 deletions

View File

@ -12,9 +12,7 @@ endif()
project("vpr7_x2p" C CXX)
# idenify if we need graphics
if (APPLE)
set(ENABLE_VPR_GRAPHICS false)
elseif (ENABLE_VPR_GRAPHICS)
if (ENABLE_VPR_GRAPHICS)
# check for dependencies
message(STATUS "VPR graphics is turned on, searching for dependencies")
find_package(X11 COMPONENTS X11 Xft)
@ -26,6 +24,7 @@ elseif (ENABLE_VPR_GRAPHICS)
set(ENABLE_VPR_GRAPHICS false)
endif()
endif()
set(ENABLE_VPR_GRAPHICS false)
# We need readline to compile
find_package(Readline REQUIRED)