Skip to content

Commit de8bbc9

Browse files
committed
Camera (FreeBSD): fix module was incorrectly disabled (v2)
1 parent 66977de commit de8bbc9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,6 +1203,9 @@ if(WIN32)
12031203
endif()
12041204
set(CMAKE_CXX_STANDARD 17)
12051205
endif()
1206+
if(FreeBSD)
1207+
set(CMAKE_REQUIRED_INCLUDES "/usr/local/include" "/usr/include")
1208+
endif()
12061209
if(LINUX OR FreeBSD)
12071210
CHECK_INCLUDE_FILE("linux/videodev2.h" HAVE_LINUX_VIDEODEV2)
12081211
if(HAVE_LINUX_VIDEODEV2)

0 commit comments

Comments
 (0)