Browse Source

Attempt to fix a bug

master
Gavin Howard 4 years ago
parent
commit
2668199b58
Signed by: gavin GPG Key ID: C08038BDF280D33E
  1. 2
      functions.cmake

2
functions.cmake

@ -163,7 +163,7 @@ function(merge_static_libs outlib)
# relative path is needed by ar under MSYS
file(RELATIVE_PATH objlistfilerpath ${objdir} ${objlistfile})
add_custom_command(TARGET ${outlib} POST_BUILD
COMMAND ${CMAKE_COMMAND} -E echo "Running: ${CMAKE_AR} ru ${outfile} @${objlistfilerpath}"
COMMAND ${CMAKE_COMMAND} -E echo Running: ${CMAKE_AR} ru ${outfile} @${objlistfilerpath}
COMMAND ${CMAKE_AR} ru "${outfile}" @"${objlistfilerpath}"
WORKING_DIRECTORY ${objdir})
endforeach()

Loading…
Cancel
Save