From eb7ea841e021ba1f8010ca42a72d5b1f113801ee Mon Sep 17 00:00:00 2001 From: Oscar Fuentes Date: Tue, 11 Nov 2008 17:10:58 +0000 Subject: [PATCH] CMake: forces rebuild of llvm-config's library dependency info when a library is added or changed. llvm-svn: 59051 --- tools/llvm-config/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/llvm-config/CMakeLists.txt b/tools/llvm-config/CMakeLists.txt index b4c97ec6b5e..0ff332a815b 100644 --- a/tools/llvm-config/CMakeLists.txt +++ b/tools/llvm-config/CMakeLists.txt @@ -75,6 +75,7 @@ endif() add_custom_command(OUTPUT ${LIBDEPS_TMP} COMMAND ${PERL_EXECUTABLE} ${LLVM_MAIN_SRC_DIR}/utils/GenLibDeps.pl -flat ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY} ${NM_PATH} > ${LIBDEPS_TMP} + DEPENDS ${llvm_libs} COMMENT "Regenerating ${LIBDEPS_TMP}") add_custom_command(OUTPUT ${LIBDEPS}