[build][cmake] Added emscripten build options (#5180)
* [cmake] export automatically raylib definitions and compile/link options * [cmake] pass emscripten options to consumer project
This commit is contained in:
parent
7db5f56e81
commit
71321d179b
1 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ include(CompilerFlags)
|
|||
# Registers build options that are exposed to cmake
|
||||
include(CMakeOptions.txt)
|
||||
|
||||
if (UNIX AND NOT APPLE AND NOT "${PLATFORM}" MATCHES "DRM")
|
||||
if (UNIX AND NOT APPLE AND NOT "${PLATFORM}" MATCHES "DRM" AND NOT "${PLATFORM}" MATCHES "Web")
|
||||
if (NOT GLFW_BUILD_WAYLAND AND NOT GLFW_BUILD_X11)
|
||||
MESSAGE(FATAL_ERROR "Cannot disable both Wayland and X11")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in a new issue