- Try to fix build on DragonFly

This commit is contained in:
Dmitry Marakasov 2017-01-13 09:22:28 +00:00
parent e12d0f77e3
commit fa2436e6fa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431359

View file

@ -0,0 +1,11 @@
--- cmake/Config.cmake.orig 2016-11-03 06:50:51 UTC
+++ cmake/Config.cmake
@@ -27,7 +27,7 @@ elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Li
# don't use the OpenGL ES implementation on Linux
set(OPENGL_ES 0)
endif()
-elseif(CMAKE_SYSTEM_NAME MATCHES "^k?FreeBSD$")
+elseif(CMAKE_SYSTEM_NAME MATCHES "^k?FreeBSD$" OR CMAKE_SYSTEM_NAME MATCHES "DragonFly")
set(SFML_OS_FREEBSD 1)
# don't use the OpenGL ES implementation on FreeBSD
set(OPENGL_ES 0)