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…
==============================================================================
--- 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)