- Try to fix build on DragonFly
This commit is contained in:
parent
e12d0f77e3
commit
fa2436e6fa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431359
1 changed files with 11 additions and 0 deletions
11
devel/sfml/files/patch-cmake_Config.cmake
Normal file
11
devel/sfml/files/patch-cmake_Config.cmake
Normal 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)
|
Loading…
Reference in a new issue