summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-06 13:54:58 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-11-06 13:59:36 (GMT)
commitbccd442f7183de1da8e97cfd4a4be2d3b21a807c (patch)
treed41d09aa703403ec94f6755807242bd78163cf7e
parent73db89c2c2d997f6e1992dd1eab05e54792bd164 (diff)
parentf61052ad390773610e14367c14fb53ad2e6b789e (diff)
downloadCMake-bccd442f7183de1da8e97cfd4a4be2d3b21a807c.zip
CMake-bccd442f7183de1da8e97cfd4a4be2d3b21a807c.tar.gz
CMake-bccd442f7183de1da8e97cfd4a4be2d3b21a807c.tar.bz2
Merge topic 'bzip2-windows'
f61052ad FindBZip2: Normalize slashes when legacy BZIP2_LIBRARIES is specified Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1439
-rw-r--r--Modules/FindBZip2.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindBZip2.cmake b/Modules/FindBZip2.cmake
index d2307f1..0375b09 100644
--- a/Modules/FindBZip2.cmake
+++ b/Modules/FindBZip2.cmake
@@ -38,6 +38,8 @@ if (NOT BZIP2_LIBRARIES)
include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake)
SELECT_LIBRARY_CONFIGURATIONS(BZIP2)
+else ()
+ file(TO_CMAKE_PATH "${BZIP2_LIBRARIES}" BZIP2_LIBRARIES)
endif ()
if (BZIP2_INCLUDE_DIR AND EXISTS "${BZIP2_INCLUDE_DIR}/bzlib.h")