diff --git a/Peripherals/CMakeLists.txt b/Peripherals/CMakeLists.txt index 5bd0d14..a143b86 100644 --- a/Peripherals/CMakeLists.txt +++ b/Peripherals/CMakeLists.txt @@ -1,18 +1,11 @@ cmake_minimum_required(VERSION 3.8 FATAL_ERROR) -add_library(peripherals STATIC - Src/peripherals_imu_icm.cpp - Src/peripherals_io.cpp - Src/peripherals_motors.cpp - Src/peripherals_pwm_channel.cpp - Src/peripherals_spi.cpp - Src/peripherals_utility.cpp -) +add_library(peripherals INTERFACE) add_library(skullc::peripherals ALIAS peripherals) target_include_directories(peripherals - PUBLIC + INTERFACE $ $ )