From e199ef3790dd1ab620f5d55ec20ea885b018fe0c Mon Sep 17 00:00:00 2001 From: James Cowgill Date: Thu, 11 Aug 2016 21:46:26 +0100 Subject: [PATCH] Define SFML_OS_FREEBSD when compiling for kFreeBSD --- cmake/Config.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Config.cmake b/cmake/Config.cmake index 6506ac022..02e45ed06 100644 --- a/cmake/Config.cmake +++ b/cmake/Config.cmake @@ -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)