diff --git a/cmake/OpenCVFindIPP.cmake b/cmake/OpenCVFindIPP.cmake
index 3bff766..104194c 100644
--- a/cmake/OpenCVFindIPP.cmake
+++ b/cmake/OpenCVFindIPP.cmake
@@ -118,13 +118,7 @@ macro(ipp_detect_version)
     set(IPP_LIBRARY_DIR ${DIR})
   endmacro()
 
-  if(APPLE)
-    _ipp_set_library_dir(${IPP_ROOT_DIR}/lib)
-  elseif(IPP_X64)
-    _ipp_set_library_dir(${IPP_ROOT_DIR}/lib/intel64)
-  else()
-    _ipp_set_library_dir(${IPP_ROOT_DIR}/lib/ia32)
-  endif()
+  _ipp_set_library_dir(${IPP_ROOT_DIR}/lib)
 
   macro(_ipp_add_library name)
     # dynamic linking is only supported for standalone version of IPP
@@ -188,22 +182,24 @@ macro(ipp_detect_version)
     _ipp_add_library(cc)
     _ipp_add_library(cv)
     _ipp_add_library(vm)
-    _ipp_add_library(m)
+    _ipp_add_library(ch)
+    _ipp_add_library(dc)
+    _ipp_add_library(e)
 
     if(UNIX)
-      get_filename_component(INTEL_COMPILER_LIBRARY_DIR ${IPP_ROOT_DIR}/../lib REALPATH)
+      get_filename_component(INTEL_COMPILER_LIBRARY_DIR ${IPP_ROOT_DIR}/lib REALPATH)
       if(NOT EXISTS ${INTEL_COMPILER_LIBRARY_DIR})
-        get_filename_component(INTEL_COMPILER_LIBRARY_DIR ${IPP_ROOT_DIR}/../compiler/lib REALPATH)
+        get_filename_component(INTEL_COMPILER_LIBRARY_DIR ${IPP_ROOT_DIR}/compiler/lib REALPATH)
       endif()
       if(NOT EXISTS ${INTEL_COMPILER_LIBRARY_DIR})
         _ipp_not_supported("IPP configuration error: can't find Intel compiler library dir ${INTEL_COMPILER_LIBRARY_DIR}")
       endif()
       if(NOT APPLE)
         if(IPP_X64)
-          if(NOT EXISTS ${INTEL_COMPILER_LIBRARY_DIR}/intel64)
+          if(NOT EXISTS ${INTEL_COMPILER_LIBRARY_DIR})
             message(SEND_ERROR "Intel compiler EM64T libraries not found")
           endif()
-          set(INTEL_COMPILER_LIBRARY_DIR ${INTEL_COMPILER_LIBRARY_DIR}/intel64)
+          set(INTEL_COMPILER_LIBRARY_DIR ${INTEL_COMPILER_LIBRARY_DIR})
         else()
           if(NOT EXISTS ${INTEL_COMPILER_LIBRARY_DIR}/ia32)
             message(SEND_ERROR "Intel compiler IA32 libraries not found")
