summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-11-02 16:49:44 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-02 16:49:44 (GMT)
commitf3093668739ab21e92f6eddbf9227bbe29fbb2a4 (patch)
tree8f90b21460d5ed857074c9c0cd7fdaef05e030ba /Source/cmTarget.h
parenta7742140ad1a88e354037ea391c0e773f147ebd2 (diff)
downloadCMake-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.h2
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;