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 15set(TARGET_TRIPLE "@TARGET_TRIPLE@") 16 17set(LLVM_TOOLS_BINARY_DIR @LLVM_TOOLS_BINARY_DIR@) 18 19set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@) 20 21set(LLVM_NATIVE_ARCH @LLVM_NATIVE_ARCH@) 22 23set(LLVM_ENABLE_PIC @LLVM_ENABLE_PIC@) 24 25set(HAVE_LIBDL @HAVE_LIBDL@) 26set(HAVE_LIBPTHREAD @HAVE_LIBPTHREAD@) 27set(LLVM_ON_UNIX @LLVM_ON_UNIX@) 28set(LLVM_ON_WIN32 @LLVM_ON_WIN32@) 29 30set(LLVM_INSTALL_PREFIX @LLVM_INSTALL_PREFIX@) 31set(LLVM_INCLUDE_DIRS ${LLVM_INSTALL_PREFIX}/include) 32set(LLVM_LIBRARY_DIRS ${LLVM_INSTALL_PREFIX}/lib) 33set(LLVM_DEFINITIONS "-D__STDC_LIMIT_MACROS" "-D__STDC_CONSTANT_MACROS") 34 35# We try to include using the current setting of CMAKE_MODULE_PATH, 36# which suppossedly was filled by the user with the directory where 37# this file was installed: 38include( LLVM-Config OPTIONAL RESULT_VARIABLE LLVMCONFIG_INCLUDED ) 39 40# If failed, we assume that this is an un-installed build: 41if( NOT LLVMCONFIG_INCLUDED ) 42 set(CMAKE_MODULE_PATH 43 ${CMAKE_MODULE_PATH} 44 "@LLVM_SOURCE_DIR@/cmake/modules") 45 include( LLVM-Config ) 46endif() 47 48