mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-12 18:25:53 +00:00
21 lines
486 B
CMake
21 lines
486 B
CMake
|
|
add_library(vchiq_arm SHARED
|
|
vchiq_lib.c vchiq_util.c)
|
|
|
|
# pull in VCHI cond variable emulation
|
|
target_link_libraries(vchiq_arm vcos)
|
|
|
|
install(TARGETS vchiq_arm DESTINATION lib)
|
|
#install(FILES etc/10-vchiq.rules DESTINATION /etc/udev/rules.d)
|
|
|
|
include_directories(../..)
|
|
|
|
add_executable(vchiq_test
|
|
vchiq_test.c)
|
|
|
|
target_link_libraries(vchiq_test
|
|
vchiq_arm
|
|
vcos)
|
|
|
|
install(TARGETS vchiq_test RUNTIME DESTINATION bin)
|