Skip to content

Commit

Permalink
Fix wiringPi not included in Adafruit_MotorHAT library link libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborszita authored Aug 23, 2023
1 parent 0d1c6c2 commit 38e16c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ set(CMAKE_CXX_FLAGS_RELEASE "-O3")

add_library(Adafruit_MotorHAT ${LIB_SOURCES})
target_include_directories(Adafruit_MotorHAT PUBLIC ${LIB_INCLUDES})
target_link_libraries(Adafruit_MotorHAT PUBLIC ${EXTERNAL_LIBS})

# DCMotorTest
add_executable(DCMotorTest DCMotorTest.cpp ${LIB_SOURCES})
Expand Down

0 comments on commit 38e16c7

Please sign in to comment.