[CMAKE] Fix symbol directory for non-MSVC builds

This commit is contained in:
Jérôme Gardou
2020-03-30 07:54:21 +00:00
parent de369ce26b
commit 5a8901130a
+5 -1
View File
@@ -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)