diff --git a/Superbuild/CMake/External_zlib.cmake b/Superbuild/CMake/External_zlib.cmake index 0091e902f02c97da6f9b5f7b3be492c99567f30e..a730efae00b594f67a5319a1759fa54bee6ffcb0 100644 --- a/Superbuild/CMake/External_zlib.cmake +++ b/Superbuild/CMake/External_zlib.cmake @@ -10,8 +10,7 @@ ADD_SYSTEM_PREFIX(PROJECT ${proj} CMAKE_ALIAS ZLIB_ROOT) if(USE_SYSTEM_ZLIB) find_package(ZLIB REQUIRED) add_custom_target(${proj}) - set(ZLIB_ROOT ${ZLIB_INCLUDE_DIR}/..) - message(STATUS " Using Zlib system version : ${ZLIB_ROOT}") + message(STATUS " Using Zlib system version") else() SETUP_SUPERBUILD(PROJECT ${proj}) message(STATUS " Using zlib SuperBuild version")