diff options
author | Brad King <brad.king@kitware.com> | 2016-10-13 12:26:02 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-10-13 12:26:02 (GMT) |
commit | bd74517325fddc0592973f26634c5985490e9d21 (patch) | |
tree | ea90f1f5c2b77d60e43b447a63876def2328d758 | |
parent | 2be36b0ab5efe5775aaaa47d659ec984ed014b8d (diff) | |
parent | d9190f3308fb67f01f061038a06006af73a77da1 (diff) | |
download | CMake-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.cmake | 2 |
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) |