Replaced ad-hoc Linux detection with __linux__.

This commit is contained in:
Camilla Berglund
2012-11-05 16:19:11 +01:00
parent 2b4c556cd0
commit ad7bf4beba
4 changed files with 11 additions and 18 deletions
-4
View File
@@ -185,10 +185,6 @@ if (_GLFW_X11_GLX)
set(GLFW_PKG_LIBS "${GLFW_PKG_LIBS} -ldl")
endif()
endif()
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
set(_GLFW_HAS_LINUX_JOYSTICKS 1)
endif()
endif()
#--------------------------------------------------------------------