Skip to content
CMakeLists.txt 37.1 KiB
Newer Older
Reid Kleckner's avatar
Reid Kleckner committed
    endif()

    if(TARGET install-${target})
      add_dependencies(install-distribution install-${target})
    else()
      message(FATAL_ERROR "Specified distribution component '${target}' doesn't have an install target")
    endif()
  endforeach()
endif()

# This allows us to deploy the Universal CRT DLLs by passing -DCMAKE_INSTALL_UCRT_LIBRARIES=ON to CMake
if (MSVC)
  include(InstallRequiredSystemLibraries)
endif()