From c52f76b99e7be49c0fb1563ef5c5c294096f08ad Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Fri, 11 Aug 2023 18:31:36 -0300 Subject: [PATCH] Fix AppleClang build --- src/device/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/device/CMakeLists.txt b/src/device/CMakeLists.txt index 326bded35..7852417d9 100644 --- a/src/device/CMakeLists.txt +++ b/src/device/CMakeLists.txt @@ -24,7 +24,9 @@ add_library(dev OBJECT bugger.c cassette.c cartridge.c hasp.c hwm.c hwm_lm75.c h mouse.c mouse_bus.c mouse_serial.c mouse_ps2.c phoenix_486_jumper.c mouse_wacom_tablet.c serial_passthrough.c) +if(NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang") target_link_libraries(86Box atomic) +endif() if(ISAMEM_RAMPAGE) target_compile_definitions(dev PRIVATE USE_ISAMEM_RAMPAGE)