diff --git a/src/sound/CMakeLists.txt b/src/sound/CMakeLists.txt index e25c39391..644deb5c3 100644 --- a/src/sound/CMakeLists.txt +++ b/src/sound/CMakeLists.txt @@ -173,7 +173,7 @@ if(OPL4ML) target_sources(snd PRIVATE midi_opl4.c midi_opl4_yrw801.c) endif() find_package(PkgConfig REQUIRED) - pkg_check_modules(SERIALPORT REQUIRED libserialport) + pkg_check_modules(LIBSERIALPORT REQUIRED libserialport) include_directories(${SERIALPORT_INCLUDE}) target_link_libraries(86Box ${SERIALPORT_LIBRARIES}) add_subdirectory(resid-fp)