Fixes and improvements (#616)
This commit is contained in:
committed by
GitHub
parent
f943c4dd69
commit
b03759a111
@@ -0,0 +1,21 @@
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
|
||||
if (DEFINED ENV{ESP_IDF_VERSION})
|
||||
|
||||
idf_component_register(
|
||||
INCLUDE_DIRS "Include/"
|
||||
REQUIRES TactilityKernel
|
||||
)
|
||||
|
||||
else()
|
||||
|
||||
add_library(TactilityKernelCpp INTERFACE)
|
||||
|
||||
target_include_directories(TactilityKernelCpp
|
||||
INTERFACE Include/
|
||||
)
|
||||
|
||||
target_link_libraries(TactilityKernelCpp
|
||||
INTERFACE TactilityKernel
|
||||
)
|
||||
endif()
|
||||
Reference in New Issue
Block a user