Author: jgardou
Date: Sun Oct 31 22:46:22 2010
New Revision: 49383
URL:
http://svn.reactos.org/svn/reactos?rev=49383&view=rev
Log:
[CMAKE]
- fix classpnp compilation.
Thanks go to lassy to explain me why this didn't work before.
Modified:
branches/cmake-bringup/drivers/storage/classpnp/CMakeLists.txt
Modified: branches/cmake-bringup/drivers/storage/classpnp/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/storage/c…
==============================================================================
--- branches/cmake-bringup/drivers/storage/classpnp/CMakeLists.txt [iso-8859-1]
(original)
+++ branches/cmake-bringup/drivers/storage/classpnp/CMakeLists.txt [iso-8859-1] Sun Oct 31
22:46:22 2010
@@ -9,6 +9,10 @@
-DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT_BUFFER_SIZE=512
-DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT_BUFFERS=512
)
+
+if(NOT MSVC)
+ add_definitions(-mrtd -fno-builtin -w)
+endif()
list(APPEND SOURCE
autorun.c