[CRYPTUI]
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 16 Mar 2012 10:57:44 +0000 (10:57 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 16 Mar 2012 10:57:44 +0000 (10:57 +0000)
* Disregard the messed up rc files temporarily for msvc build. Arch, fix your s.it !

svn path=/trunk/; revision=56170

reactos/dll/win32/cryptui/CMakeLists.txt

index bed8af9..42644a1 100644 (file)
@@ -5,16 +5,18 @@ add_definitions(
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
-set_rc_compiler()
-
 spec2def(cryptui.dll cryptui.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
     main.c
-    cryptui.rc
     ${CMAKE_CURRENT_BINARY_DIR}/cryptui_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/cryptui.def)
 
+# FIXME: Fix your rc files, Rafal!
+if(NOT MSVC)
+    list(APPEND SOURCE cryptui.rc)
+endif()
+
 add_library(cryptui SHARED ${SOURCE})
 set_module_type(cryptui win32dll)
 target_link_libraries(cryptui uuid wine)
@@ -32,5 +34,4 @@ add_importlibs(cryptui
     kernel32
     ntdll)
 
-
 add_cd_file(TARGET cryptui DESTINATION reactos/system32 FOR all)