2010-08-11 02:51:32 +02:00
|
|
|
# This file provides information and services to the final user.
|
|
|
|
|
2011-02-03 21:57:36 +01:00
|
|
|
set(LLVM_PACKAGE_VERSION @PACKAGE_VERSION@)
|
|
|
|
|
2010-08-09 05:26:43 +02:00
|
|
|
set(LLVM_COMMON_DEPENDS @LLVM_COMMON_DEPENDS@)
|
|
|
|
|
|
|
|
set(llvm_libs @llvm_libs@)
|
|
|
|
|
|
|
|
set(llvm_lib_targets @llvm_lib_targets@)
|
|
|
|
|
2010-09-29 17:28:55 +02:00
|
|
|
set(LLVM_ALL_TARGETS @LLVM_ALL_TARGETS@)
|
|
|
|
|
2010-08-09 05:26:43 +02:00
|
|
|
set(LLVM_TARGETS_TO_BUILD @LLVM_TARGETS_TO_BUILD@)
|
|
|
|
|
|
|
|
set(LLVM_TOOLS_BINARY_DIR @LLVM_TOOLS_BINARY_DIR@)
|
|
|
|
|
2010-08-09 05:47:11 +02:00
|
|
|
set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@)
|
2010-08-09 05:26:43 +02:00
|
|
|
|
2010-08-11 02:51:32 +02:00
|
|
|
set(LLVM_NATIVE_ARCH @LLVM_NATIVE_ARCH@)
|
|
|
|
|
2011-02-03 21:57:36 +01:00
|
|
|
set(LLVM_ENABLE_PIC @LLVM_ENABLE_PIC@)
|
|
|
|
|
|
|
|
set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS)
|
|
|
|
|
|
|
|
set(HAVE_LIBDL @HAVE_LIBDL@)
|
|
|
|
set(HAVE_LIBPTHREAD @HAVE_LIBPTHREAD)
|
|
|
|
|
2010-08-11 02:51:32 +02:00
|
|
|
# We try to include using the current setting of CMAKE_MODULE_PATH,
|
|
|
|
# which suppossedly was filled by the user with the directory where
|
|
|
|
# this file was installed:
|
|
|
|
include( LLVMConfig OPTIONAL RESULT_VARIABLE LLVMCONFIG_INCLUDED )
|
|
|
|
|
|
|
|
# If failed, we assume that this is an un-installed build:
|
|
|
|
if( NOT LLVMCONFIG_INCLUDED )
|
2010-08-09 05:26:43 +02:00
|
|
|
set(CMAKE_MODULE_PATH
|
|
|
|
${CMAKE_MODULE_PATH}
|
|
|
|
"@LLVM_SOURCE_DIR@/cmake/modules")
|
2010-08-11 02:51:32 +02:00
|
|
|
include( LLVMConfig )
|
2010-08-09 05:26:43 +02:00
|
|
|
endif()
|
|
|
|
|