diff options
author | Brad King <brad.king@kitware.com> | 2012-11-02 16:49:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-02 16:49:44 (GMT) |
commit | f3093668739ab21e92f6eddbf9227bbe29fbb2a4 (patch) | |
tree | 8f90b21460d5ed857074c9c0cd7fdaef05e030ba /Source/cmTarget.h | |
parent | a7742140ad1a88e354037ea391c0e773f147ebd2 (diff) | |
download | CMake-f3093668739ab21e92f6eddbf9227bbe29fbb2a4.zip CMake-f3093668739ab21e92f6eddbf9227bbe29fbb2a4.tar.gz CMake-f3093668739ab21e92f6eddbf9227bbe29fbb2a4.tar.bz2 |
Fix default PDB output directory (#13644)
The ComputePDBOutputDir added by commit 3f60dbf1 (Add
PDB_OUTPUT_DIRECTORY and PDB_NAME target properties, 2012-09-25) falls
back to the current binary directory instead of the target output
directory as before. When no PDB_OUTPUT_DIRECTORY property is set we
instead should fall back to the target output directory where .pdb files
used to go before the new property was added.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r-- | Source/cmTarget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h index 558bfab..e442d25 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -577,7 +577,7 @@ private: struct OutputInfo; OutputInfo const* GetOutputInfo(const char* config); bool ComputeOutputDir(const char* config, bool implib, std::string& out); - void ComputePDBOutputDir(const char* config, std::string& out); + bool ComputePDBOutputDir(const char* config, std::string& out); // Cache import information from properties for each configuration. struct ImportInfo; |