Skip to content

Commit

Permalink
Properly link the idf driver component
Browse files Browse the repository at this point in the history
  • Loading branch information
j-c-cook committed Jan 18, 2025
1 parent 27c5935 commit 9c95260
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hardware_integration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ target_compile_features(HardwareIntegration PUBLIC cxx_std_11)
set_target_properties(HardwareIntegration PROPERTIES CXX_EXTENSIONS OFF)
target_link_libraries(HardwareIntegration PRIVATE ${PROJECT_NAME}::Utility
${PROJECT_NAME}::Isobus)
if(ESP_PLATFORM)
target_link_libraries(HardwareIntegration PRIVATE idf::driver)
endif()

if("WindowsPCANBasic" IN_LIST CAN_DRIVER)
if(MSVC)
Expand Down

0 comments on commit 9c95260

Please sign in to comment.