Skip to content
Snippets Groups Projects
Commit b3334b6c authored by Oscar Fuentes's avatar Oscar Fuentes
Browse files

add_partially_linked_object: Replaced nonexistent MESSAGE option in

add_custom_command with COMMENT. It was forcing unconditional command
execution.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56425 91177308-0d34-0410-b5e6-96231b3b80d8
parent 3d01fc7d
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment