Skip to content

Commit

Permalink
disable DRM for FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
opdenkamp committed Jan 19, 2016
1 parent c21c510 commit 8d5379d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/libcec/cmake/CheckPlatformSupport.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ else()
set(LIB_INFO "${LIB_INFO}, features: P8_USB")

# always try DRM on Linux if other methods fail
set(HAVE_DRM_EDID_PARSER 1)
set(LIB_INFO "${LIB_INFO}, DRM")
if(NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
set(HAVE_DRM_EDID_PARSER 1)
set(LIB_INFO "${LIB_INFO}, DRM")
endif()

# flock
check_include_files(sys/file.h HAVE_SYS_FILE_HEADER)
Expand Down

0 comments on commit 8d5379d

Please sign in to comment.