target_link_libraries(vga libcntpr)
+# FIXME: http://www.cmake.org/Bug/view.php?id=12998
if(MSVC)
- add_target_compile_flags(vga "/Gz")
+ #add_target_compile_flags(vga "/Gz")
+ set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "/Gz")
else()
- # FIXME: http://www.cmake.org/Bug/view.php?id=12998
#add_target_compile_flags(vga "-mrtd -fno-builtin")
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-mrtd -fno-builtin")
endif()