[cmake] Expose opt-viewer availability

This will be used in https://github.com/apple/swift/pull/12938

llvm-svn: 319511
This commit is contained in:
Adam Nemet 2017-12-01 01:44:26 +00:00
parent 223e2d4f04
commit dc7bd1b12e
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ set(LLVM_CMAKE_DIR "@LLVM_CONFIG_CMAKE_DIR@")
set(LLVM_BINARY_DIR "@LLVM_CONFIG_BINARY_DIR@")
set(LLVM_TOOLS_BINARY_DIR "@LLVM_CONFIG_TOOLS_BINARY_DIR@")
set(LLVM_TOOLS_INSTALL_DIR "@LLVM_TOOLS_INSTALL_DIR@")
set(LLVM_HAVE_OPT_VIEWER_MODULES @LLVM_HAVE_OPT_VIEWER_MODULES@)
if(NOT TARGET LLVMSupport)
set(LLVM_EXPORTED_TARGETS "@LLVM_CONFIG_EXPORTS@")