[ros-diffs] [akhaldi] 52349: [CMAKE] * Add missing dependency. * Properly set the compiler flag.

akhaldi at svn.reactos.org akhaldi at svn.reactos.org
Sat Jun 18 20:47:44 UTC 2011


Author: akhaldi
Date: Sat Jun 18 20:47:44 2011
New Revision: 52349

URL: http://svn.reactos.org/svn/reactos?rev=52349&view=rev
Log:
[CMAKE]
* Add missing dependency.
* Properly set the compiler flag.

Modified:
    trunk/reactos/lib/sdk/crt/msvcrtex.cmake

Modified: trunk/reactos/lib/sdk/crt/msvcrtex.cmake
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/msvcrtex.cmake?rev=52349&r1=52348&r2=52349&view=diff
==============================================================================
--- trunk/reactos/lib/sdk/crt/msvcrtex.cmake [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/msvcrtex.cmake [iso-8859-1] Sat Jun 18 20:47:44 2011
@@ -2,7 +2,7 @@
 include_directories(include/internal/mingw-w64)
 
 if(NOT MSVC)
-    add_definitions(-Wno-main)
+    add_compiler_flags(-Wno-main)
 endif()
 
 list(APPEND MSVCRTEX_SOURCE
@@ -65,4 +65,4 @@
     target_link_libraries(msvcrtex oldnames)
 endif()
 
-add_dependencies(msvcrtex psdk)
+add_dependencies(msvcrtex psdk asm)




More information about the Ros-diffs mailing list