Skip to content

Commit

Permalink
Fixes IPP build on linux;
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Vlasov committed Jan 31, 2017
1 parent dfb348e commit 9228a8b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cmake/OpenCVFindIPP.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,15 @@ macro(ipp_detect_version)
if(HAVE_IPP_ICV_ONLY)
_ipp_add_library(icv)
else()
_ipp_add_library(core)
_ipp_add_library(s)
_ipp_add_library(m)
_ipp_add_library(cv)
_ipp_add_library(i)
_ipp_add_library(cc)
_ipp_add_library(cv)
_ipp_add_library(s)
_ipp_add_library(vm)
_ipp_add_library(m)
_ipp_add_library(core)

if(UNIX)
if(UNIX AND IPP_VERSION_MAJOR LESS 2017)
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)
Expand Down Expand Up @@ -223,7 +223,7 @@ macro(ipp_detect_version)
_ipp_add_compiler_library(irc)
_ipp_add_compiler_library(imf)
_ipp_add_compiler_library(svml)
endif(UNIX)
endif()
endif()

#message(STATUS "IPP libs: ${IPP_LIBRARIES}")
Expand Down

0 comments on commit 9228a8b

Please sign in to comment.