mirror of https://github.com/raysan5/raylib
Added support DragonFly os from BSD family
This commit is contained in:
parent
1630597f08
commit
965cc8ab6f
|
@ -54,8 +54,8 @@ if(${PLATFORM} MATCHES "Desktop")
|
|||
endif()
|
||||
|
||||
# Ugly crutch. Temporary workaround for #551
|
||||
if("${CMAKE_SYSTEM_NAME}" MATCHES "(Free|Net|Open)BSD")
|
||||
link_directories("/usr/local/lib")
|
||||
if("${CMAKE_SYSTEM_NAME}" MATCHES "(Free|Net|Open)BSD|DragonFly")
|
||||
link_directories("${CMAKE_INSTALL_PREFIX}/lib")
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL Linux)
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#define _GLFW_X11
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__)
|
||||
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
|
||||
#define _GLFW_X11
|
||||
#endif
|
||||
#if defined(__APPLE__)
|
||||
|
@ -91,7 +91,7 @@
|
|||
#include "external/glfw/src/osmesa_context.c"
|
||||
#endif
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__)
|
||||
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__) || defined(__DragonFly__)
|
||||
#include "external/glfw/src/x11_init.c"
|
||||
#include "external/glfw/src/x11_monitor.c"
|
||||
#include "external/glfw/src/x11_window.c"
|
||||
|
|
Loading…
Reference in New Issue