summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-08 16:56:02 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-06-08 16:56:02 (GMT)
commit5a13dc0b6e462745e12946e209b815131ea47f25 (patch)
tree2b4d53fd7faf263d6dad8a7542e222c52255050e
parent8632251b25c217e12ae8741e935d6b9aa03ac04b (diff)
parent132b8989680b50cb9cc9c72e2ffb806cfb3534c2 (diff)
downloadCMake-5a13dc0b6e462745e12946e209b815131ea47f25.zip
CMake-5a13dc0b6e462745e12946e209b815131ea47f25.tar.gz
CMake-5a13dc0b6e462745e12946e209b815131ea47f25.tar.bz2
Merge topic 'bzip2-debug-names'
132b8989 FindBZip2: Search for additional bz2d debug library name
-rw-r--r--Modules/FindBZip2.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindBZip2.cmake b/Modules/FindBZip2.cmake
index 6af42dd..b670025 100644
--- a/Modules/FindBZip2.cmake
+++ b/Modules/FindBZip2.cmake
@@ -37,7 +37,7 @@ find_path(BZIP2_INCLUDE_DIR bzlib.h ${_BZIP2_PATHS} PATH_SUFFIXES include)
if (NOT BZIP2_LIBRARIES)
find_library(BZIP2_LIBRARY_RELEASE NAMES bz2 bzip2 ${_BZIP2_PATHS} PATH_SUFFIXES lib)
- find_library(BZIP2_LIBRARY_DEBUG NAMES bzip2d ${_BZIP2_PATHS} PATH_SUFFIXES lib)
+ find_library(BZIP2_LIBRARY_DEBUG NAMES bz2d bzip2d ${_BZIP2_PATHS} PATH_SUFFIXES lib)
include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake)
SELECT_LIBRARY_CONFIGURATIONS(BZIP2)