Author: akhaldi
Date: Thu Sep 11 13:24:10 2014
New Revision: 64119
URL:
http://svn.reactos.org/svn/reactos?rev=64119&view=rev
Log:
[WINEMP3.ACM]
* Link with mingwex.
CORE-8516
Modified:
trunk/reactos/dll/win32/winemp3.acm/CMakeLists.txt
Modified: trunk/reactos/dll/win32/winemp3.acm/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winemp3.acm/CMak…
==============================================================================
--- trunk/reactos/dll/win32/winemp3.acm/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/winemp3.acm/CMakeLists.txt [iso-8859-1] Thu Sep 11 13:24:10
2014
@@ -16,5 +16,10 @@
set_module_type(winemp3.acm win32dll)
set_target_properties(winemp3.acm PROPERTIES SUFFIX "")
target_link_libraries(winemp3.acm wine libmpg123 oldnames)
+
+if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
+ target_link_libraries(winemp3.acm mingwex)
+endif()
+
add_importlibs(winemp3.acm winmm user32 msvcrt kernel32 ntdll)
add_cd_file(TARGET winemp3.acm DESTINATION reactos/system32 FOR all)