diff options
author | Roger Leigh <rleigh@codelibre.net> | 2016-06-07 21:46:40 (GMT) |
---|---|---|
committer | Roger Leigh <rleigh@codelibre.net> | 2016-06-07 21:46:40 (GMT) |
commit | 132b8989680b50cb9cc9c72e2ffb806cfb3534c2 (patch) | |
tree | f7ac04d1aea2d52608af3a9f22c6d433c928b650 /Modules/FindBZip2.cmake | |
parent | b86585d89a84fb1bdee1e751d0247f30d2315ed0 (diff) | |
download | CMake-132b8989680b50cb9cc9c72e2ffb806cfb3534c2.zip CMake-132b8989680b50cb9cc9c72e2ffb806cfb3534c2.tar.gz CMake-132b8989680b50cb9cc9c72e2ffb806cfb3534c2.tar.bz2 |
FindBZip2: Search for additional bz2d debug library name
Diffstat (limited to 'Modules/FindBZip2.cmake')
-rw-r--r-- | Modules/FindBZip2.cmake | 2 |
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) |