1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

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 0f25988689
commit d1fdff199f

View File

@ -8,7 +8,7 @@ macro(add_partially_linked_object lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/temp_lib) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/temp_lib)
add_library( ${lib} STATIC ${ARGN}) add_library( ${lib} STATIC ${ARGN})
add_custom_command(OUTPUT ${pll} add_custom_command(OUTPUT ${pll}
MESSAGE "Building ${lib}.o..." COMMENT "Building ${lib}.o..."
DEPENDS ${lib} DEPENDS ${lib}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/temp_lib WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/temp_lib
COMMAND ar x ${CMAKE_STATIC_LIBRARY_PREFIX}${lib}${CMAKE_STATIC_LIBRARY_SUFFIX} COMMAND ar x ${CMAKE_STATIC_LIBRARY_PREFIX}${lib}${CMAKE_STATIC_LIBRARY_SUFFIX}