6 lines · plain
1file(GLOB files ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/lib/*.a)2 3foreach(file ${files})4 execute_process(COMMAND ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/bin/llvm-strip --no-strip-all -R .llvm.lto ${file})5endforeach()6 1file(GLOB files ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/lib/*.a)2 3foreach(file ${files})4 execute_process(COMMAND ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/bin/llvm-strip --no-strip-all -R .llvm.lto ${file})5endforeach()6