[MSVCRT]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 6 Sep 2015 05:20:26 +0000 (05:20 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 6 Sep 2015 05:20:26 +0000 (05:20 +0000)
- Properly ignore LNK4102 for libmsvcrt

svn path=/trunk/; revision=69046

reactos/dll/win32/msvcrt/CMakeLists.txt

index 6ee7511..02d234a 100644 (file)
@@ -27,7 +27,7 @@ target_link_libraries(msvcrt crt wine ${PSEH_LIB})
 if(MSVC)
     # export of deleting destructor "name"
     add_target_link_flags(msvcrt "/ignore:4102")
 if(MSVC)
     # export of deleting destructor "name"
     add_target_link_flags(msvcrt "/ignore:4102")
-    add_target_link_flags(libmsvcrt "/ignore:4102")
+    add_target_property(libmsvcrt STATIC_LIBRARY_FLAGS "/ignore:4102")
 endif()
 
 add_importlibs(msvcrt kernel32 ntdll)
 endif()
 
 add_importlibs(msvcrt kernel32 ntdll)