This repository has been archived on 2025-06-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
nrealAirLinuxDriver/CMakeLists.txt
TheJackiMonster b694a15cb1
Initial commit
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-03-31 15:15:04 +02:00

23 lines
No EOL
488 B
CMake

cmake_minimum_required(VERSION 3.16)
project(nrealAirLinuxDriver)
set(CMAKE_C_STANDARD 17)
add_subdirectory(modules/Fusion/Fusion)
find_package(PkgConfig REQUIRED)
pkg_search_module(LIBUSB1 REQUIRED libusb-1.0)
add_executable(nrealAirLinuxDriver
src/device3.c
src/device4.c
src/driver.c
)
target_include_directories(nrealAirLinuxDriver
SYSTEM BEFORE PRIVATE modules/Fusion ${LIBUSB1_INCLUDE_DIRS}
)
target_link_libraries(nrealAirLinuxDriver
${LIBUSB1_LIBRARIES} Fusion m
)