https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5a8901130a6c9d2df563207abf3d0a4544bdbc92
commit 5a8901130a6c9d2df563207abf3d0a4544bdbc92 Author: Jérôme Gardou <jerome.gar...@reactos.org> AuthorDate: Fri Mar 20 10:30:33 2020 +0000 Commit: Jérôme Gardou <jerome.gar...@reactos.org> CommitDate: Mon Mar 30 07:54:21 2020 +0000 [CMAKE] Fix symbol directory for non-MSVC builds --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ea234693986..777a0335304 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -249,7 +249,11 @@ else() endif() # For MSVC builds, this puts all debug symbols file in the same directory. - set(CMAKE_PDB_OUTPUT_DIRECTORY "${REACTOS_BINARY_DIR}/msvc_pdb") + if (MSVC) + set(CMAKE_PDB_OUTPUT_DIRECTORY "${REACTOS_BINARY_DIR}/msvc_pdb") + elseif(SEPARATE_DBG) + set(CMAKE_PDB_OUTPUT_DIRECTORY "${REACTOS_BINARY_DIR}/symbols") + endif() #begin with boot so reactos_cab target is defined before all other modules add_subdirectory(boot)