diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2011-04-05 17:02:48 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2011-04-05 17:02:48 +0000 |
commit | e7510c2e9648ab8e887d7b40d913c7a7db784d67 (patch) | |
tree | 5bb5ead502e2ed4646ed07898e02b8bcbbccf8c6 /cmake | |
parent | b793bc1ccabef36b3223bae69f5e94a8e98d22eb (diff) | |
download | external_llvm-e7510c2e9648ab8e887d7b40d913c7a7db784d67.zip external_llvm-e7510c2e9648ab8e887d7b40d913c7a7db784d67.tar.gz external_llvm-e7510c2e9648ab8e887d7b40d913c7a7db784d67.tar.bz2 |
Rename LLVMConfig.cmake to LLVM-Config.cmake. The *Config.cmake naming
scheme is used by the functionality related to find_package.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128889 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-x | cmake/modules/AddLLVM.cmake | 2 | ||||
-rw-r--r-- | cmake/modules/CMakeLists.txt | 6 | ||||
-rwxr-xr-x | cmake/modules/LLVM-Config.cmake (renamed from cmake/modules/LLVMConfig.cmake) | 0 | ||||
-rw-r--r-- | cmake/modules/LLVM.cmake | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index df739b4..6087094 100755 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -1,5 +1,5 @@ include(LLVMProcessSources) -include(LLVMConfig) +include(LLVM-Config) macro(add_llvm_library name) llvm_process_sources( ALL_FILES ${ARGN} ) diff --git a/cmake/modules/CMakeLists.txt b/cmake/modules/CMakeLists.txt index 1ab9474..036ee05 100644 --- a/cmake/modules/CMakeLists.txt +++ b/cmake/modules/CMakeLists.txt @@ -9,7 +9,7 @@ configure_file( install(FILES ${llvm_cmake_builddir}/LLVM.cmake - LLVMConfig.cmake + LLVM-Config.cmake LLVMLibDeps.cmake DESTINATION share/llvm/cmake) @@ -18,7 +18,7 @@ install(DIRECTORY . FILES_MATCHING PATTERN *.cmake PATTERN .svn EXCLUDE PATTERN LLVM.cmake EXCLUDE - PATTERN LLVMConfig.cmake EXCLUDE + PATTERN LLVM-Config.cmake EXCLUDE PATTERN LLVMLibDeps.cmake EXCLUDE PATTERN FindBison.cmake EXCLUDE PATTERN GetTargetTriple.cmake EXCLUDE @@ -27,6 +27,6 @@ install(DIRECTORY . install(FILES ${llvm_cmake_builddir}/LLVM.cmake - LLVMConfig.cmake + LLVM-Config.cmake LLVMLibDeps.cmake DESTINATION share/llvm/cmake) diff --git a/cmake/modules/LLVMConfig.cmake b/cmake/modules/LLVM-Config.cmake index bd6a7a2..bd6a7a2 100755 --- a/cmake/modules/LLVMConfig.cmake +++ b/cmake/modules/LLVM-Config.cmake diff --git a/cmake/modules/LLVM.cmake b/cmake/modules/LLVM.cmake index 8afc63d..04abb9d 100644 --- a/cmake/modules/LLVM.cmake +++ b/cmake/modules/LLVM.cmake @@ -28,13 +28,13 @@ set(LLVM_ON_WIN32 @LLVM_ON_WIN32@) # 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 ) +include( LLVM-Config OPTIONAL RESULT_VARIABLE LLVMCONFIG_INCLUDED ) # If failed, we assume that this is an un-installed build: if( NOT LLVMCONFIG_INCLUDED ) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "@LLVM_SOURCE_DIR@/cmake/modules") - include( LLVMConfig ) + include( LLVM-Config ) endif() |