[WINEMP3.ACM]
authorAmine Khaldi <amine.khaldi@reactos.org>
Thu, 11 Sep 2014 13:24:10 +0000 (13:24 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Thu, 11 Sep 2014 13:24:10 +0000 (13:24 +0000)
* Link with mingwex.
CORE-8516

svn path=/trunk/; revision=64119

reactos/dll/win32/winemp3.acm/CMakeLists.txt

index 7002521..6530013 100644 (file)
@@ -16,5 +16,10 @@ add_library(winemp3.acm SHARED
 set_module_type(winemp3.acm win32dll)
 set_target_properties(winemp3.acm PROPERTIES SUFFIX "")
 target_link_libraries(winemp3.acm wine libmpg123 oldnames)
 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)
 add_importlibs(winemp3.acm winmm user32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET winemp3.acm DESTINATION reactos/system32 FOR all)