summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-13 12:26:02 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-13 12:26:02 (GMT)
commitbd74517325fddc0592973f26634c5985490e9d21 (patch)
treeea90f1f5c2b77d60e43b447a63876def2328d758
parent2be36b0ab5efe5775aaaa47d659ec984ed014b8d (diff)
parentd9190f3308fb67f01f061038a06006af73a77da1 (diff)
downloadCMake-bd74517325fddc0592973f26634c5985490e9d21.zip
CMake-bd74517325fddc0592973f26634c5985490e9d21.tar.gz
CMake-bd74517325fddc0592973f26634c5985490e9d21.tar.bz2
Merge topic 'FindProtobuf-debug-suffix'
d9190f33 FindProtobuf: Search for debug library named with `d` suffix
-rw-r--r--Modules/FindProtobuf.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindProtobuf.cmake b/Modules/FindProtobuf.cmake
index 14e392a..3ffd5a7 100644
--- a/Modules/FindProtobuf.cmake
+++ b/Modules/FindProtobuf.cmake
@@ -264,7 +264,7 @@ function(_protobuf_find_libraries name filename)
mark_as_advanced(${name}_LIBRARY_RELEASE)
find_library(${name}_LIBRARY_DEBUG
- NAMES ${filename}
+ NAMES ${filename}d ${filename}
PATHS ${Protobuf_SRC_ROOT_FOLDER}/vsprojects/${_PROTOBUF_ARCH_DIR}Debug)
mark_as_advanced(${name}_LIBRARY_DEBUG)