mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[CMAKE]
* Temporarily work around the cmake rc handling bug. svn path=/trunk/; revision=56120
This commit is contained in:
parent
62bd31ab43
commit
e39b9f7f45
1 changed files with 8 additions and 4 deletions
|
@ -7,16 +7,20 @@ list(APPEND SOURCE
|
|||
palette.c
|
||||
pointer.c
|
||||
screen.c
|
||||
framebuf_new.rc
|
||||
${CMAKE_CURRENT_BINARY_DIR}/framebuf_new.def)
|
||||
|
||||
add_library(framebuf_new SHARED ${SOURCE})
|
||||
add_library(framebuf_new SHARED
|
||||
${SOURCE}
|
||||
framebuf_new.rc)
|
||||
|
||||
if(ARCH MATCHES i386)
|
||||
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
|
||||
if(MSVC)
|
||||
add_target_compile_flags(framebuf_new "/Gz")
|
||||
#add_target_compile_flags(framebuf_new "/Gz")
|
||||
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "/Gz")
|
||||
else()
|
||||
add_target_compile_flags(framebuf_new "-mrtd -fno-builtin")
|
||||
#add_target_compile_flags(framebuf_new "-mrtd -fno-builtin")
|
||||
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-mrtd -fno-builtin")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue