llvm.org GIT mirror llvm / 8548be3
[CMake] Handle common options for runtimes build All the existing runtimes relies on flags which are set by AddLLVM and HandleLLVMOptions. In the standalone case, they would include these themselves, but when being built using LLVM runtimes we should include these in the top-level runtimes CMake files. Differential Revision: https://reviews.llvm.org/D28389 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291590 91177308-0d34-0410-b5e6-96231b3b80d8 Petr Hosek 3 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
5959
6060 # This variable makes sure that e.g. llvm-lit is found.
6161 set(LLVM_MAIN_SRC_DIR ${LLVM_BUILD_MAIN_SRC_DIR})
62
63 # Handle common options used by all runtimes.
64 include(AddLLVM)
65 include(HandleLLVMOptions)
6266
6367 foreach(entry ${runtimes})
6468 get_filename_component(projName ${entry} NAME)