CMake: Remove USE_WAYLAND option
This commit is contained in:
parent
449f7d3fa6
commit
6e93c10ad4
1 changed files with 10 additions and 4 deletions
|
|
@ -39,6 +39,12 @@ include(CMakeOptions.txt)
|
|||
# Enforces a few environment and compiler configurations
|
||||
include(BuildOptions)
|
||||
|
||||
if (UNIX AND NOT APPLE)
|
||||
if (NOT GLFW_BUILD_WAYLAND AND NOT GLFW_BUILD_X11)
|
||||
MESSAGE(FATAL_ERROR "Cannot disable both X11 and Wayland")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Main sources directory (the second parameter sets the output directory name to raylib)
|
||||
add_subdirectory(src raylib)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue