Define SFML_OS_FREEBSD when compiling for kFreeBSD
This commit is contained in:
parent
b16d29b4ae
commit
e199ef3790
@ -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