if(NOT DEFINED CMAKE_ARGC)# Guard CMake standalone invocations
if(NOT DEFINED CMAKE_ARGC)# Guard CMake standalone invocations
# Use this option carefully, CMake's install() will install symlinks instead of real files
# It is fine for development, but should not be used by real installations
set(__symlink_default OFF)# preprocessing is required for old CMake like 2.8.12
if(DEFINED ENV{BUILD_USE_SYMLINKS})
set(__symlink_default $ENV{BUILD_USE_SYMLINKS})
endif()
OCV_OPTION(BUILD_USE_SYMLINKS "Use symlinks instead of files copying during build (and !!INSTALL!!)"(${__symlink_default})IF(UNIX OR DEFINED __symlink_default))