File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -182,15 +182,15 @@ macro(ipp_detect_version)
182
182
if (HAVE_IPP_ICV_ONLY )
183
183
_ipp_add_library (icv )
184
184
else ()
185
- _ipp_add_library (core )
186
- _ipp_add_library (s )
185
+ _ipp_add_library (m )
186
+ _ipp_add_library (cv )
187
187
_ipp_add_library (i )
188
188
_ipp_add_library (cc )
189
- _ipp_add_library (cv )
189
+ _ipp_add_library (s )
190
190
_ipp_add_library (vm )
191
- _ipp_add_library (m )
191
+ _ipp_add_library (core )
192
192
193
- if (UNIX )
193
+ if (UNIX AND IPP_VERSION_MAJOR LESS 2017 )
194
194
get_filename_component (INTEL_COMPILER_LIBRARY_DIR ${IPP_ROOT_DIR} /../lib REALPATH )
195
195
if (NOT EXISTS ${INTEL_COMPILER_LIBRARY_DIR} )
196
196
get_filename_component (INTEL_COMPILER_LIBRARY_DIR ${IPP_ROOT_DIR} /../compiler/lib REALPATH )
@@ -223,7 +223,7 @@ macro(ipp_detect_version)
223
223
_ipp_add_compiler_library (irc )
224
224
_ipp_add_compiler_library (imf )
225
225
_ipp_add_compiler_library (svml )
226
- endif (UNIX )
226
+ endif ()
227
227
endif ()
228
228
229
229
#message(STATUS "IPP libs: ${IPP_LIBRARIES}")
You can’t perform that action at this time.
0 commit comments