fix build without IPP (and empty 3rdparty)

This commit is contained in:
Alexander Alekhin 2015-06-17 17:23:56 +03:00
parent bf8434770f
commit 1ce0ef9d41

View File

@ -824,7 +824,7 @@ macro(ocv_get_all_libs _modules _extra _3rdparty)
endif()
# split 3rdparty libs and modules
list(REMOVE_ITEM ${_modules} ${${_3rdparty}} ${${_extra}})
list(REMOVE_ITEM ${_modules} ${${_3rdparty}} ${${_extra}} non_empty_list)
# convert CMake lists to makefile literals
foreach(lst ${_modules} ${_3rdparty} ${_extra})