aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2010-12-10 02:15:36 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2010-12-10 02:15:36 +0000
commit51c06bf6ad16adf0637e7dc910c9943cdb5d000b (patch)
tree2522a9cae242d74859107d64d5d2eee0cd16a172 /cmake/modules
parent8070812f4c12a5385b7acafa49dd71147632dcfa (diff)
downloadexternal_llvm-51c06bf6ad16adf0637e7dc910c9943cdb5d000b.zip
external_llvm-51c06bf6ad16adf0637e7dc910c9943cdb5d000b.tar.gz
external_llvm-51c06bf6ad16adf0637e7dc910c9943cdb5d000b.tar.bz2
Add dependency to "make check".
cmake/modules/AddLLVM.cmake: Add empty "phony" target in add_llvm_loadable_module() even if loadable module were not supported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121455 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules')
-rwxr-xr-xcmake/modules/AddLLVM.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake
index f45febb..d03b3e0 100755
--- a/cmake/modules/AddLLVM.cmake
+++ b/cmake/modules/AddLLVM.cmake
@@ -32,6 +32,8 @@ macro(add_llvm_loadable_module name)
if( NOT LLVM_ON_UNIX OR CYGWIN )
message(STATUS "Loadable modules not supported on this platform.
${name} ignored.")
+ # Add empty "phony" target
+ add_custom_target(${name})
else()
llvm_process_sources( ALL_FILES ${ARGN} )
add_library( ${name} MODULE ${ALL_FILES} )