summaryrefslogtreecommitdiffstats
path: root/xbmc/platform/freebsd/CMakeLists.txt
blob: 9b8782f4cdad4ccd73dfbc15a73a202387530154 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
set(SOURCES ../linux/AppParamParserLinux.cpp
            CPUInfoFreebsd.cpp
            OptionalsReg.cpp
            ../linux/OptionalsReg.cpp
            ../linux/TimeUtils.cpp
            MemUtils.cpp
            PlatformFreebsd.cpp)

set(HEADERS ../linux/AppParamParserLinux.cpp
            CPUInfoFreebsd.h
            OptionalsReg.h
            ../linux/OptionalsReg.h
            ../linux/TimeUtils.h
            PlatformFreebsd.h)

if(ALSA_FOUND)
  list(APPEND SOURCES ../linux/FDEventMonitor.cpp)
  list(APPEND HEADERS ../linux/FDEventMonitor.h)
endif()

if(DBUS_FOUND)
  list(APPEND SOURCES ../linux/DBusMessage.cpp
                      ../linux/DBusUtil.cpp)
  list(APPEND HEADERS ../linux/DBusMessage.h
                      ../linux/DBusUtil.h)
endif()

core_add_library(freebsdsupport)