From ae53cfd0d960f6ea9424b63b9141045c1137b7b3 Mon Sep 17 00:00:00 2001 From: Zachariah Brown Date: Thu, 19 Mar 2015 19:49:39 -0400 Subject: [PATCH] Added X11 back to the linker list for FreeBSD --- src/SFML/Window/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Window/CMakeLists.txt b/src/SFML/Window/CMakeLists.txt index 88dff86c..ce90d8a3 100644 --- a/src/SFML/Window/CMakeLists.txt +++ b/src/SFML/Window/CMakeLists.txt @@ -220,7 +220,7 @@ if(SFML_OS_WINDOWS) elseif(SFML_OS_LINUX) list(APPEND WINDOW_EXT_LIBS ${LIBXCB_LIBRARIES} ${UDEV_LIBRARIES}) elseif(SFML_OS_FREEBSD) - list(APPEND WINDOW_EXT_LIBS ${LIBXCB_LIBRARIES} usbhid) + list(APPEND WINDOW_EXT_LIBS ${X11_X11_LIB} ${X11_Xrandr_LIB} ${LIBXCB_LIBRARIES} usbhid) elseif(SFML_OS_MACOSX) list(APPEND WINDOW_EXT_LIBS "-framework Foundation -framework AppKit -framework IOKit -framework Carbon") elseif(SFML_OS_IOS)