aboutsummaryrefslogtreecommitdiff
path: root/ports/llgl/fix-arm64-build-error.patch
blob: d80061c16c92d7e4aa758f316640cc8a6c37e0ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f440884..f1a9190 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -559,6 +559,8 @@ if(APPLE)
     endif()
 elseif(UNIX)
     target_link_libraries(LLGL X11 pthread Xxf86vm Xrandr)
+elseif(WIN32)
+    target_link_libraries(LLGL gdi32 shell32)
 endif()
 
 set_target_properties(LLGL PROPERTIES LINKER_LANGUAGE CXX DEBUG_POSTFIX "D")