Fix battery compilation for DragonFly BSD
This commit is contained in:
parent
82dc07d7c3
commit
54f2b34623
1 changed files with 2 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue