]> granicus.if.org Git - llvm/commitdiff
[LLVM-C] Fix omission of INSTALL_WITH_TOOLCHAIN to llvm_add_library()
authorTom Stellard <tstellar@redhat.com>
Wed, 28 Aug 2019 22:59:04 +0000 (22:59 +0000)
committerTom Stellard <tstellar@redhat.com>
Wed, 28 Aug 2019 22:59:04 +0000 (22:59 +0000)
Due to a misstake with r365902 that tried to simplify the install with
toolchain logic LLVM-C.dll was no longer being installed.

Patch By: Jakob Bornecrantz

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370271 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-shlib/CMakeLists.txt

index 4905ed08157fee0980cefc742989531603e38ecb..901f55c99d5993cb99551e1738ec7bd44c1ae899 100644 (file)
@@ -182,6 +182,6 @@ if(MSVC)
     VERBATIM )
 
   # Finally link the target.
-  add_llvm_library(LLVM-C SHARED ${SOURCES} DEPENDS intrinsics_gen)
+  add_llvm_library(LLVM-C SHARED INSTALL_WITH_TOOLCHAIN ${SOURCES} DEPENDS intrinsics_gen)
 
 endif()