mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 10:21:57 -05:00
11 lines
272 B
CMake
11 lines
272 B
CMake
# Helpers for linking platform specific libraries
|
|
|
|
function(target_link_platform_libraries target)
|
|
|
|
if (APPLE)
|
|
target_link_libraries(${target} "-framework Cocoa -framework CoreServices")
|
|
elseif(WIN32)
|
|
target_link_libraries(${target} gdi32)
|
|
endif ()
|
|
|
|
endfunction()
|