# 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()
