[llvm] [cmake] Add possibility to use ChooseMSVCCRT.cmake when include LLVM library
commit8652b3b5f5673f325f29f9204ed2e30dd9fe2c0b
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 23 Sep 2019 14:11:48 +0000 (23 14:11 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 23 Sep 2019 14:11:48 +0000 (23 14:11 +0000)
treed6b9f62f96cc2eb5612e503178b18148e889aa6f
parent413ec947a97034eae25a6a104d66c43515a247c6
[llvm] [cmake] Add possibility to use ChooseMSVCCRT.cmake when include LLVM library

Modify LLVMConfig to produce LLVM_USE_CRT variables in build-directory. It helps to set the same compiler debug options like in builded library.

Committed on behalf of @igorban (Igor)

Differential Revision: https://reviews.llvm.org/D67175

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372610 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/LLVMConfig.cmake.in