mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Define SFML_OS_FREEBSD when compiling for kFreeBSD
This commit is contained in:
parent
e2c4bca779
commit
fea5d47221
@ -27,7 +27,7 @@ elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
|||||||
# don't use the OpenGL ES implementation on Linux
|
# don't use the OpenGL ES implementation on Linux
|
||||||
set(OPENGL_ES 0)
|
set(OPENGL_ES 0)
|
||||||
endif()
|
endif()
|
||||||
elseif(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
elseif(CMAKE_SYSTEM_NAME MATCHES "^k?FreeBSD$")
|
||||||
set(SFML_OS_FREEBSD 1)
|
set(SFML_OS_FREEBSD 1)
|
||||||
# don't use the OpenGL ES implementation on FreeBSD
|
# don't use the OpenGL ES implementation on FreeBSD
|
||||||
set(OPENGL_ES 0)
|
set(OPENGL_ES 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user