From d1fdff199f894430f8c9fb7d22c51c097768e980 Mon Sep 17 00:00:00 2001 From: Oscar Fuentes Date: Mon, 22 Sep 2008 02:33:43 +0000 Subject: [PATCH] add_partially_linked_object: Replaced nonexistent MESSAGE option in add_custom_command with COMMENT. It was forcing unconditional command execution. llvm-svn: 56425 --- cmake/modules/AddPartiallyLinkedObject.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/AddPartiallyLinkedObject.cmake b/cmake/modules/AddPartiallyLinkedObject.cmake index b985b3eb282..a8a3d999e4f 100755 --- a/cmake/modules/AddPartiallyLinkedObject.cmake +++ b/cmake/modules/AddPartiallyLinkedObject.cmake @@ -8,7 +8,7 @@ macro(add_partially_linked_object lib) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/temp_lib) add_library( ${lib} STATIC ${ARGN}) add_custom_command(OUTPUT ${pll} - MESSAGE "Building ${lib}.o..." + COMMENT "Building ${lib}.o..." DEPENDS ${lib} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/temp_lib COMMAND ar x ${CMAKE_STATIC_LIBRARY_PREFIX}${lib}${CMAKE_STATIC_LIBRARY_SUFFIX}