diff options
Diffstat (limited to 'cmake/platform/freebsd')
-rw-r--r-- | cmake/platform/freebsd/defines.txt | 1 | ||||
-rw-r--r-- | cmake/platform/freebsd/gbm.cmake | 2 | ||||
-rw-r--r-- | cmake/platform/freebsd/wayland.cmake | 1 | ||||
-rw-r--r-- | cmake/platform/freebsd/x11.cmake | 2 |
4 files changed, 6 insertions, 0 deletions
diff --git a/cmake/platform/freebsd/defines.txt b/cmake/platform/freebsd/defines.txt new file mode 100644 index 0000000..bd23e57 --- /dev/null +++ b/cmake/platform/freebsd/defines.txt @@ -0,0 +1 @@ +-DTARGET_POSIX -DTARGET_FREEBSD diff --git a/cmake/platform/freebsd/gbm.cmake b/cmake/platform/freebsd/gbm.cmake new file mode 100644 index 0000000..2d20731 --- /dev/null +++ b/cmake/platform/freebsd/gbm.cmake @@ -0,0 +1,2 @@ +include(cmake/platform/linux/gbm.cmake) +list(APPEND PLATFORM_REQUIRED_DEPS EpollShim) diff --git a/cmake/platform/freebsd/wayland.cmake b/cmake/platform/freebsd/wayland.cmake new file mode 100644 index 0000000..c9c1d00 --- /dev/null +++ b/cmake/platform/freebsd/wayland.cmake @@ -0,0 +1 @@ +include(cmake/platform/linux/wayland.cmake) diff --git a/cmake/platform/freebsd/x11.cmake b/cmake/platform/freebsd/x11.cmake new file mode 100644 index 0000000..307dac3 --- /dev/null +++ b/cmake/platform/freebsd/x11.cmake @@ -0,0 +1,2 @@ +list(APPEND PLATFORM_REQUIRED_DEPS OpenGl EGL X XRandR LibDRM) +list(APPEND PLATFORM_OPTIONAL_DEPS VAAPI VDPAU GLX) |