mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
CMake: Remove USE_WAYLAND option (#3851)
* CMake: Remove USE_WAYLAND option * Consistency fix * Fix oversight
This commit is contained in:
committed by
GitHub
parent
6e9dcdb599
commit
85a46e42bd
@ -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 Wayland and X11")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Main sources directory (the second parameter sets the output directory name to raylib)
|
||||
add_subdirectory(src raylib)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user