diff options
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/components/video/i2c/driver_video-i2c.cmake')
-rw-r--r-- | lib/chibios-contrib/ext/mcux-sdk/components/video/i2c/driver_video-i2c.cmake | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/components/video/i2c/driver_video-i2c.cmake b/lib/chibios-contrib/ext/mcux-sdk/components/video/i2c/driver_video-i2c.cmake new file mode 100644 index 000000000..6b50a7a88 --- /dev/null +++ b/lib/chibios-contrib/ext/mcux-sdk/components/video/i2c/driver_video-i2c.cmake | |||
@@ -0,0 +1,16 @@ | |||
1 | if(NOT DRIVER_VIDEO-I2C_INCLUDED) | ||
2 | |||
3 | set(DRIVER_VIDEO-I2C_INCLUDED true CACHE BOOL "driver_video-i2c component is included.") | ||
4 | |||
5 | target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE | ||
6 | ${CMAKE_CURRENT_LIST_DIR}/fsl_video_i2c.c | ||
7 | ) | ||
8 | |||
9 | target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE | ||
10 | ${CMAKE_CURRENT_LIST_DIR}/. | ||
11 | ) | ||
12 | |||
13 | |||
14 | include(driver_common) | ||
15 | |||
16 | endif() \ No newline at end of file | ||