message: Move install of zlib in an install directory
diff: @@ -175,7 +175,7 @@ ExternalProject_Add(zlib_ext
  SOURCE_DIR ${ZLIB_PATH}
  CONFIGURE_COMMAND ${CMAKE_COMMAND} ${ZLIB_PATH}
  -G ${CMAKE_GENERATOR}
  - -DCMAKE_INSTALL_PREFIX:PATH=${ZLIB_PATH_BIN}
  + -DCMAKE_INSTALL_PREFIX:PATH=${ZLIB_PATH_BIN}/install
  -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
  -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
  -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
  @@ -186,7 +186,7 @@ ExternalProject_Add(zlib_ext
  BUILD_COMMAND ${CMAKE_COMMAND} --build ${ZLIB_PATH_BIN} ${COMPILATION_OPTION}
  #--Install step---------------
  - INSTALL_DIR ${ZLIB_PATH_BIN}
  + INSTALL_DIR ${ZLIB_PATH_BIN}/install
  )
  ExternalProject_Add_Step(zlib_ext forcebuild
  @@ -202,7 +202,7 @@ set(EXTRA_LIBS ${EXTRA_LIBS} z)
  # Add zlib bin directories to the current ones
  # It would be preferable to set the imported library location [JP]
  -link_directories(${ZLIB_PATH_BIN}/lib)
  +link_directories(${ZLIB_PATH_BIN}/install/lib)
  #------------------------------------------------------------------------------------------------
  @@ -234,7 +234,7 @@ ExternalProject_Add(minizip_ext
  -G ${CMAKE_GENERATOR}
  -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
  -DUSE_AES:BOOL=OFF
  - -DZLIB_ROOT:PATH=${ZLIB_PATH_BIN}
  + -DZLIB_ROOT:PATH=${ZLIB_PATH_BIN}/install
  -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
  -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
  