Author: tkreuzer
Date: Sat Jan 29 15:02:53 2011
New Revision: 50557
URL:
http://svn.reactos.org/svn/reactos?rev=50557&view=rev
Log:
[FRAMEBUF_NEW]
Fix build with MSVC
Modified:
branches/cmake-bringup/drivers/video/displays/framebuf_new/CMakeLists.txt
Modified: branches/cmake-bringup/drivers/video/displays/framebuf_new/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/video/dis…
==============================================================================
--- branches/cmake-bringup/drivers/video/displays/framebuf_new/CMakeLists.txt [iso-8859-1]
(original)
+++ branches/cmake-bringup/drivers/video/displays/framebuf_new/CMakeLists.txt [iso-8859-1]
Sat Jan 29 15:02:53 2011
@@ -13,7 +13,9 @@
add_library(framebuf_new SHARED ${CMAKE_CURRENT_BINARY_DIR}/framebuf_new_driver.h.gch
${SOURCE})
if(ARCH MATCHES i386)
- if(NOT MSVC)
+ if(MSVC)
+ set_target_properties(framebuf_new PROPERTIES COMPILE_FLAGS "/Gz")
+ else()
set_target_properties(framebuf_new PROPERTIES COMPILE_FLAGS "-mrtd
-fno-builtin")
endif()
endif()