* Add missing dependency.
* Properly set the compiler flag.

svn path=/trunk/; revision=52349
This commit is contained in:
Amine Khaldi 2011-06-18 20:47:44 +00:00
parent 966128554b
commit 7f85f59d7a

View file

@ -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)