[ros-diffs] [tkreuzer] 50563: [CMAKE] Fix compilation of actxprxy with MSVC

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sat Jan 29 18:16:46 UTC 2011


Author: tkreuzer
Date: Sat Jan 29 18:16:46 2011
New Revision: 50563

URL: http://svn.reactos.org/svn/reactos?rev=50563&view=rev
Log:
[CMAKE]
Fix compilation of actxprxy with MSVC

Modified:
    branches/cmake-bringup/dll/win32/actxprxy/CMakeLists.txt

Modified: branches/cmake-bringup/dll/win32/actxprxy/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/actxprxy/CMakeLists.txt?rev=50563&r1=50562&r2=50563&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/actxprxy/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/actxprxy/CMakeLists.txt [iso-8859-1] Sat Jan 29 18:16:46 2011
@@ -24,9 +24,14 @@
 
 set_entrypoint(actxprxy 0)
 
+if(MSVC)
+    target_link_libraries(actxprxy iidlib)
+else()
+    target_link_libraries(actxprxy uuid)
+endif()
+
 target_link_libraries(actxprxy
     actxprxylib
-    uuid
     wine
     ${PSEH_LIB})
 




More information about the Ros-diffs mailing list