aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadia Holmquist Pedersen <nadia@nhp.sh>2020-04-12 17:15:39 +0200
committerNadia Holmquist Pedersen <nadia@nhp.sh>2020-04-12 17:15:39 +0200
commit4b57416552ec2fa95216e2b044559f215723bf70 (patch)
treef2ec4d6ffe2c957566f1b73386fdf3c1ab3a13ae
parenta6150a9a9eaab7431b62a527f538c570ab8a6990 (diff)
Windows: explicitly link gdi32
-rw-r--r--src/libui_sdl/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libui_sdl/CMakeLists.txt b/src/libui_sdl/CMakeLists.txt
index bcecc81..a3a7f8a 100644
--- a/src/libui_sdl/CMakeLists.txt
+++ b/src/libui_sdl/CMakeLists.txt
@@ -59,7 +59,7 @@ if (UNIX)
elseif (WIN32)
target_sources(melonDS PUBLIC "${CMAKE_SOURCE_DIR}/melon.rc")
target_include_directories(melonDS PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/..")
- target_link_libraries(melonDS comctl32 d2d1 dwrite uxtheme ws2_32 iphlpapi)
+ target_link_libraries(melonDS comctl32 d2d1 dwrite uxtheme ws2_32 iphlpapi gdi32)
endif ()
install(FILES ../../net.kuribo64.melonDS.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)