add_partially_linked_object: Replaced nonexistent MESSAGE option in

add_custom_command with COMMENT. It was forcing unconditional command
execution.

llvm-svn: 56425
This commit is contained in:
Oscar Fuentes 2008-09-22 02:33:43 +00:00
parent 34525a91fa
commit f3d3a0dfca
1 changed files with 1 additions and 1 deletions

View File

@ -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}