diff --git a/BaseLib/zlib/CMakeLists.txt b/BaseLib/zlib/CMakeLists.txt index b925ed375a7895f465b976320853d9902d8ee751..7b52a848f127cc2be53256c65658fce1161a8353 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()