mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2024-09-12 04:22:54 +02:00
12 lines
248 B
CMake
12 lines
248 B
CMake
# Helpers for linking platform specific libraries
|
|
|
|
function(target_link_platform_libraries target)
|
|
|
|
if (APPLE)
|
|
target_link_libraries(${target} "-framework Cocoa")
|
|
elseif(WIN32)
|
|
target_link_libraries(${target} gdi32)
|
|
endif ()
|
|
|
|
endfunction()
|