Fix GUI support with cmake 3.16
Updated cmakelist to fix gui support with cmake > 3.12. Tested on ubuntu 18.04.
This commit is contained in:
parent
1cd4ca1fe2
commit
c574ab081a
|
@ -17,7 +17,7 @@ message(STATUS "Checking VPR graphics option ${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)
|
||||
find_package(X11)
|
||||
|
||||
if (NOT X11_FOUND)
|
||||
message(WARNING "Failed to find required X11 library (on debian/ubuntu try 'sudo apt-get install libx11-dev' to install)")
|
||||
|
|
Loading…
Reference in New Issue