llvm.org GIT mirror llvm / b89b119
cmake: Do not export targets when installing toolchain only Patch by Brad King! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201111 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Kleckner 5 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
7272 ${llvm_cmake_builddir}/LLVMConfigVersion.cmake
7373 @ONLY)
7474
75 install(EXPORT LLVMExports DESTINATION ${LLVM_INSTALL_PACKAGE_DIR})
75 if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
76 install(EXPORT LLVMExports DESTINATION ${LLVM_INSTALL_PACKAGE_DIR})
7677
77 if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
7878 install(FILES
7979 ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/LLVMConfig.cmake
8080 ${llvm_cmake_builddir}/LLVMConfigVersion.cmake