Merge pull request #2728

b56c0cd cmake: fix Linux detection (xiphon)
This commit is contained in:
luigi1111 2020-01-23 10:24:36 -05:00
commit a5e5bfad46
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -177,7 +177,7 @@ find_package(Boost 1.62 REQUIRED COMPONENTS
program_options program_options
locale) locale)
if(LINUX) if(UNIX AND NOT APPLE)
find_package(X11 REQUIRED) find_package(X11 REQUIRED)
message(STATUS "X11_FOUND = ${X11_FOUND}") message(STATUS "X11_FOUND = ${X11_FOUND}")
message(STATUS "X11_INCLUDE_DIR = ${X11_INCLUDE_DIR}") message(STATUS "X11_INCLUDE_DIR = ${X11_INCLUDE_DIR}")