From 7f8f49e6e7f0d283ce95142bb3bfce17c131dd23 Mon Sep 17 00:00:00 2001 From: Jose Phillips Date: Sun, 1 Dec 2024 22:32:15 -0500 Subject: [PATCH] fix for other platforms --- src/sound/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sound/CMakeLists.txt b/src/sound/CMakeLists.txt index 386e8a2dc..b4a0f3796 100644 --- a/src/sound/CMakeLists.txt +++ b/src/sound/CMakeLists.txt @@ -178,6 +178,9 @@ pkg_check_modules(SERIALPORT REQUIRED libserialport) if(APPLE) include_directories(${LIBSERIALPORT_ROOT}/include) target_link_libraries(86Box ${LIBSERIALPORT_ROOT}/lib/libserialport.dylib) +else() + include_directories(${SERIALPORT_INCLUDE_DIRS}) + target_link_libraries(86Box ${SERIALPORT_LIBRARIES}) endif() add_subdirectory(resid-fp)