mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-01 21:57:26 -04:00
cmake: fix Linux detection
This commit is contained in:
@@ -176,7 +176,7 @@ find_package(Boost 1.62 REQUIRED COMPONENTS
|
||||
program_options
|
||||
locale)
|
||||
|
||||
if(LINUX)
|
||||
if(UNIX AND NOT APPLE)
|
||||
find_package(X11 REQUIRED)
|
||||
message(STATUS "X11_FOUND = ${X11_FOUND}")
|
||||
message(STATUS "X11_INCLUDE_DIR = ${X11_INCLUDE_DIR}")
|
||||
|
||||
Reference in New Issue
Block a user