mirror of
https://github.com/Yours3lf/rpi-vk-driver.git
synced 2024-12-01 13:24:20 +01:00
1696c03670
changed back to one FD per process as apparently they are shared. I just need to make sure that I close the FD when the last instance is destroyed. the kernel side driver should be able to handle this properly
10 lines
235 B
CMake
10 lines
235 B
CMake
file(GLOB driverSrc
|
|
"*.h"
|
|
"*.c"
|
|
)
|
|
|
|
add_library(vulkan-1-rpi SHARED ${driverSrc})
|
|
target_compile_options(vulkan-1-rpi PRIVATE -Wall -Werror=implicit-function-declaration -std=c11)
|
|
|
|
target_link_libraries(vulkan-1-rpi drm pthread brcm)
|