From 7f85f59d7aae0ed369993298d79b4bb840c8e243 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sat, 18 Jun 2011 20:47:44 +0000 Subject: [PATCH] [CMAKE] * Add missing dependency. * Properly set the compiler flag. svn path=/trunk/; revision=52349 --- reactos/lib/sdk/crt/msvcrtex.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/sdk/crt/msvcrtex.cmake b/reactos/lib/sdk/crt/msvcrtex.cmake index 045a1b3cfaa..6fbfdb9ec3b 100644 --- a/reactos/lib/sdk/crt/msvcrtex.cmake +++ b/reactos/lib/sdk/crt/msvcrtex.cmake @@ -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 @@ if(NOT MSVC) target_link_libraries(msvcrtex oldnames) endif() -add_dependencies(msvcrtex psdk) +add_dependencies(msvcrtex psdk asm)