1# This file provides information and services to the final user. 2 3set(LLVM_PACKAGE_VERSION @PACKAGE_VERSION@) 4 5set(LLVM_COMMON_DEPENDS @LLVM_COMMON_DEPENDS@) 6 7set_property( GLOBAL PROPERTY LLVM_LIBS "@llvm_libs@") 8 9set(LLVM_ALL_TARGETS @LLVM_ALL_TARGETS@) 10 11set(LLVM_TARGETS_TO_BUILD @LLVM_TARGETS_TO_BUILD@) 12 13set(LLVM_TARGETS_WITH_JIT @LLVM_TARGETS_WITH_JIT@) 14 15@all_llvm_lib_deps@ 16 17set(TARGET_TRIPLE "@TARGET_TRIPLE@") 18 19set(LLVM_TOOLS_BINARY_DIR @LLVM_TOOLS_BINARY_DIR@) 20 21set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@) 22 23set(LLVM_NATIVE_ARCH @LLVM_NATIVE_ARCH@) 24 25set(LLVM_ENABLE_PIC @LLVM_ENABLE_PIC@) 26 27set(HAVE_LIBDL @HAVE_LIBDL@) 28set(HAVE_LIBPTHREAD @HAVE_LIBPTHREAD@) 29set(LLVM_ON_UNIX @LLVM_ON_UNIX@) 30set(LLVM_ON_WIN32 @LLVM_ON_WIN32@) 31 32set(LLVM_INSTALL_PREFIX @LLVM_INSTALL_PREFIX@) 33set(LLVM_INCLUDE_DIRS ${LLVM_INSTALL_PREFIX}/include) 34set(LLVM_LIBRARY_DIRS ${LLVM_INSTALL_PREFIX}/lib) 35set(LLVM_DEFINITIONS "-D__STDC_LIMIT_MACROS" "-D__STDC_CONSTANT_MACROS") 36 37# We try to include using the current setting of CMAKE_MODULE_PATH, 38# which suppossedly was filled by the user with the directory where 39# this file was installed: 40include( LLVM-Config OPTIONAL RESULT_VARIABLE LLVMCONFIG_INCLUDED ) 41 42# If failed, we assume that this is an un-installed build: 43if( NOT LLVMCONFIG_INCLUDED ) 44 set(CMAKE_MODULE_PATH 45 ${CMAKE_MODULE_PATH} 46 "@LLVM_SOURCE_DIR@/cmake/modules") 47 include( LLVM-Config ) 48endif() 49 50