Fix battery compilation for DragonFly BSD

This commit is contained in:
o9000 2015-12-31 16:41:58 +01:00
parent 82dc07d7c3
commit 54f2b34623

View file

@ -93,6 +93,8 @@ if( ENABLE_BATTERY )
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
set( SOURCES ${SOURCES} src/battery/linux.c)
elseif(CMAKE_SYSTEM_NAME STREQUAL "DragonFly")
set( SOURCES ${SOURCES} src/battery/freebsd.c)
elseif(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
set( SOURCES ${SOURCES} src/battery/freebsd.c)
elseif(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")