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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user