From: Roman Donchenko Date: Fri, 13 Feb 2015 12:31:19 +0000 (+0300) Subject: Remove useless CPACK_*_COMPONENT_INSTALL variables X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~1314^2~279^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49fe496914cca93f19dd61aa7b1c120037d65282;p=platform%2Fupstream%2Fopencv.git Remove useless CPACK_*_COMPONENT_INSTALL variables They don't actually do anything. And even if they did, all components are enabled by default, anyway. --- diff --git a/cmake/OpenCVPackaging.cmake b/cmake/OpenCVPackaging.cmake index e937a79..f2e5e44 100644 --- a/cmake/OpenCVPackaging.cmake +++ b/cmake/OpenCVPackaging.cmake @@ -126,15 +126,6 @@ if(NOT OPENCV_CUSTOM_PACKAGE_INFO) set(CPACK_COMPONENT_tests_SECTION "misc") endif(NOT OPENCV_CUSTOM_PACKAGE_INFO) -if(NOT OPENCV_CUSTOM_PACKAGE_LAYOUT) - set(CPACK_libs_COMPONENT_INSTALL TRUE) - set(CPACK_dev_COMPONENT_INSTALL TRUE) - set(CPACK_docs_COMPONENT_INSTALL TRUE) - set(CPACK_python_COMPONENT_INSTALL TRUE) - set(CPACK_java_COMPONENT_INSTALL TRUE) - set(CPACK_samples_COMPONENT_INSTALL TRUE) -endif(NOT OPENCV_CUSTOM_PACKAGE_LAYOUT) - if(CPACK_GENERATOR STREQUAL "DEB") find_program(GZIP_TOOL NAMES "gzip" PATHS "/bin" "/usr/bin" "/usr/local/bin") if(NOT GZIP_TOOL)