Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
StrahinjaJacimovic authored Jul 9, 2024
1 parent 163117b commit 519bda4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion targets/arm/mikroe/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ endif()
add_subdirectory(common)
add_subdirectory(core)

if(AI_GENERATED_SDK)
include(mikroeUtils)
if(${AI_GENERATED_SDK})
message(STATUS "Entering AI generated branch.")
add_subdirectory(ai_generated/${vendor_id})
else()
message(STATUS "Entering non AI generated branch.")
add_subdirectory(${vendor_id})
endif()

0 comments on commit 519bda4

Please sign in to comment.