mirror of
https://github.com/Relintai/rpi-fbcp.git
synced 2024-11-12 20:47:25 +01:00
19 lines
440 B
CMake
19 lines
440 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
|
|
SET(COMPILE_DEFINITIONS -Werror)
|
|
|
|
include_directories(/opt/vc/include)
|
|
include_directories(/opt/vc/include/interface/vcos/pthreads)
|
|
include_directories(/opt/vc/include/interface/vmcs_host)
|
|
include_directories(/opt/vc/include/interface/vmcs_host/linux)
|
|
|
|
link_directories(/opt/vc/lib)
|
|
|
|
add_executable(fbcp main.c)
|
|
|
|
target_link_libraries(fbcp bcm_host)
|
|
|
|
|
|
set (CMAKE_C_FLAGS "-std=gnu99 ${CMAKE_C_FLAGS}")
|
|
|