Author: cwittich
Date: Thu Mar 1 19:43:00 2012
New Revision: 55953
URL:
http://svn.reactos.org/svn/reactos?rev=55953&view=rev
Log:
[cmake]
fix for the fix
thanks Alex for testing
this should reduce testman log size by at least 500KB
Modified:
trunk/reactos/cmake/gcc.cmake
Modified: trunk/reactos/cmake/gcc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/gcc.cmake?rev=55953&…
==============================================================================
--- trunk/reactos/cmake/gcc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/gcc.cmake [iso-8859-1] Thu Mar 1 19:43:00 2012
@@ -20,7 +20,7 @@
#file(TO_NATIVE_PATH ${REACTOS_SOURCE_DIR} REACTOS_SOURCE_DIR_NATIVE)
#workaround
set(REACTOS_SOURCE_DIR_NATIVE ${REACTOS_SOURCE_DIR})
-if (WIN32)
+IF(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
STRING(REPLACE "/" "\\" REACTOS_SOURCE_DIR_NATIVE
${REACTOS_SOURCE_DIR})
endif()
add_compile_flags("-fdebug-prefix-map=${REACTOS_SOURCE_DIR_NATIVE}=ReactOS")