Skip to content

Commit

Permalink
bugfix: serial port support was always disabled after recent refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Feb 16, 2025
1 parent 50195da commit c827424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ find_package(PNG REQUIRED)
find_package(ZLIB REQUIRED)

if (USE_LIBSERIALPORT)
target_compile_definitions(${PROJECT_NAME} PRIVATE SERIAL_PORT)
target_compile_definitions(${PROJECT_NAME} PRIVATE USE_LIBSERIALPORT)
find_helper(LIBSERIALPORT libserialport libserialport.h serialport)
target_link_libraries(${PROJECT_NAME} PRIVATE ${LIBSERIALPORT_LIBRARIES})
endif ()
Expand Down

0 comments on commit c827424

Please sign in to comment.