mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[CMAKE] Fix SEPARATE_DBG build on GCC
This commit is contained in:
parent
fff2fc9327
commit
7f6246e660
1 changed files with 4 additions and 0 deletions
|
@ -194,6 +194,10 @@ if(SEPARATE_DBG)
|
|||
message(STATUS "Building separate debug symbols")
|
||||
file(MAKE_DIRECTORY ${REACTOS_BINARY_DIR}/symbols)
|
||||
if(CMAKE_GENERATOR STREQUAL "Ninja")
|
||||
# Those variables seems to be set but empty in newer CMake versions
|
||||
# and Ninja generator relies on them to generate PDB name, so unset them.
|
||||
unset(MSVC_C_ARCHITECTURE_ID)
|
||||
unset(MSVC_CXX_ARCHITECTURE_ID)
|
||||
set(CMAKE_DEBUG_SYMBOL_SUFFIX "")
|
||||
set(SYMBOL_FILE <TARGET_PDB>)
|
||||
else()
|
||||
|
|
Loading…
Reference in a new issue