mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-12 10:32:26 +01:00
Add platform cmake include
This commit is contained in:
11
cmake/platform.cmake
Normal file
11
cmake/platform.cmake
Normal file
@@ -0,0 +1,11 @@
|
||||
# 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()
|
||||
Reference in New Issue
Block a user