Added joystick implementation for FreeBSD (#477)

This commit is contained in:
David Demelier 2013-10-08 22:40:11 +02:00 committed by Laurent Gomila
parent 713aed7079
commit cc3dc29ef4
19 changed files with 1043 additions and 527 deletions

View file

@ -15,9 +15,10 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
endif()
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(LINUX 1)
set(UNIX 1)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
# FreeBSD compile path is the same as Linux
set(LINUX 1)
set(FreeBSD 1)
set(UNIX 1)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(MACOSX 1)