this should work according to Amine

svn path=/trunk/; revision=55955
This commit is contained in:
Christoph von Wittich 2012-03-01 21:00:22 +00:00
parent 3e1d7c333e
commit 6e9f60e050

View file

@ -20,8 +20,7 @@ add_compile_flags("-pipe -fms-extensions")
#file(TO_NATIVE_PATH ${REACTOS_SOURCE_DIR} REACTOS_SOURCE_DIR_NATIVE)
#workaround
set(REACTOS_SOURCE_DIR_NATIVE ${REACTOS_SOURCE_DIR})
set(TEST_ENV $ENV{windir})
if(DEFINED TEST_ENV)
if(CMAKE_HOST_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")