Skip to content

Commit

Permalink
ci: make libserialport required in CMake also
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Dec 6, 2023
1 parent 9cb7d8a commit f33a2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ find_package(FLAC REQUIRED)
find_package(mpg123 REQUIRED)
find_package(PNG REQUIRED)
find_package(ZLIB REQUIRED)
find_library(LIBSERIALPORT_LIBRARIES serialport)
find_library(LIBSERIALPORT_LIBRARIES REQUIRED serialport)
find_path(LIBSERIALPORT_INCLUDE_DIR libserialport.h)

INCLUDE_DIRECTORIES(${SDL2IMAGE_INCLUDE_DIRS} ${LIBSERIALPORT_INCLUDE_DIR})
Expand Down

0 comments on commit f33a2a4

Please sign in to comment.