1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 14:02:59 +01:00

Link to libatomic for arm-linux-gnueabihf library architecture

This commit is contained in:
busybu2
2025-03-16 21:27:09 +00:00
committed by GitHub
parent 1ccfd0e2e6
commit 70302be7d0
2 changed files with 6 additions and 0 deletions

View File

@@ -288,3 +288,8 @@ endif ()
if (UNIX)
add_definitions(-D_FILE_OFFSET_BITS=64)
endif ()
if (CMAKE_LIBRARY_ARCHITECTURE MATCHES "arm-linux-gnueabihf")
message(STATUS "Linking to armhf libs; adding libatomic")
target_link_libraries(${PROJECT_NAME} atomic)
endif()