mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2024-08-29 21:46:05 +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()
|