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
|
||||
set(OPENGL_ES 0)
|
||||
endif()
|
||||
elseif(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||
elseif(CMAKE_SYSTEM_NAME MATCHES "^k?FreeBSD$")
|
||||
set(SFML_OS_FREEBSD 1)
|
||||
# don't use the OpenGL ES implementation on FreeBSD
|
||||
set(OPENGL_ES 0)
|
||||
|
Loading…
Reference in New Issue
Block a user