Commit df279150 authored by Roman Donchenko's avatar Roman Donchenko Committed by OpenCV Buildbot

Merge pull request #1642 from alalek:cmake_cleanup_targets

parents 4cbf0cb3 83b7fbe3
......@@ -62,6 +62,8 @@ endif()
include(cmake/OpenCVUtils.cmake)
ocv_clear_vars(OpenCVModules_TARGETS)
# ----------------------------------------------------------------------------
# Break in case of popular CMake configuration mistakes
# ----------------------------------------------------------------------------
......
......@@ -458,7 +458,6 @@ function(ocv_install_target)
if(DEFINED __package)
list(APPEND ${__package}_TARGETS ${__target})
list(REMOVE_DUPLICATES ${__package}_TARGETS)
set(${__package}_TARGETS "${${__package}_TARGETS}" CACHE INTERNAL "List of ${__package} targets")
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment