mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[cmake]
this should work according to Amine svn path=/trunk/; revision=55955
This commit is contained in:
parent
3e1d7c333e
commit
6e9f60e050
1 changed files with 1 additions and 2 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue