Add msimg32 library through CMake
authorPeter Åstrand (astrand) <astrand@cendio.se>
Wed, 9 Jan 2019 08:52:27 +0000 (09:52 +0100)
committerPeter Åstrand (astrand) <astrand@cendio.se>
Wed, 9 Jan 2019 08:52:27 +0000 (09:52 +0100)
MinGW does not support libs through #pragma comments.

client/Windows/CMakeLists.txt

index c645baf..6274571 100644 (file)
@@ -78,6 +78,7 @@ endif()
 
 set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} freerdp-client)
 set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} winpr freerdp)
+set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} msimg32)
 target_link_libraries(${MODULE_NAME} ${${MODULE_PREFIX}_LIBS})
 
 if(WITH_CLIENT_INTERFACE)