Cleanup: add missing headers to CMake, formatting

This commit is contained in:
Campbell Barton
2020-09-15 22:50:11 +10:00
parent 7177a580cc
commit dd25d47e8a
8 changed files with 13 additions and 6 deletions

View File

@@ -1156,7 +1156,7 @@ if(WIN32)
set_target_properties(blender PROPERTIES
PDB_NAME "blender_private"
PDB_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>")
if (WITH_WINDOWS_PDB AND WITH_WINDOWS_STRIPPED_PDB)
if(WITH_WINDOWS_PDB AND WITH_WINDOWS_STRIPPED_PDB)
# This is slightly messy, but single target generators like ninja will not have the
# CMAKE_CFG_INTDIR variable and multitarget generators like msbuild will not have
# CMAKE_BUILD_TYPE. This can be simplified by target_link_options and the $<CONFIG>