From 225810d0a20c4052a22e36a39c8eebea9deb5dfa Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Thu, 13 Sep 2012 16:42:14 +0200 Subject: [PATCH] Workaround for a visual studio 2010 bug: http://public.kitware.com/Bug/view.php?id=11240. --- BaseLib/zlib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseLib/zlib/CMakeLists.txt b/BaseLib/zlib/CMakeLists.txt index b925ed375a7..7b52a848f12 100644 --- a/BaseLib/zlib/CMakeLists.txt +++ b/BaseLib/zlib/CMakeLists.txt @@ -105,7 +105,7 @@ string(REGEX REPLACE ".*#define[ \t]+ZLIB_VERSION[ \t]+\"([-0-9A-Za-z.]+)\".*" add_library(zlib STATIC ${ZLIB_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS}) -# Workaround for a Visual Studio bug: +# Workaround for a Visual Studio bug: http://public.kitware.com/Bug/view.php?id=11240 if(MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 8) set_target_properties(zlib PROPERTIES STATIC_LIBRARY_FLAGS "/machine:x64") endif() -- GitLab