Update cmake to reflect last commit
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4a4dd1a1fc
commit
77178a21c9
@ -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
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/Inc>
|
||||
$<INSTALL_INTERFACE:include>
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user