]> git.saurik.com Git - apt.git/blame - CMake/vendor_substitute.cmake
Add statvfs.h.in to CMake directory
[apt.git] / CMake / vendor_substitute.cmake
CommitLineData
7d33e7c7
JAK
1file(READ ${IN} input)
2foreach(variable ${VARS})
3 execute_process(COMMAND ${PROJECT_SOURCE_DIR}/vendor/getinfo
4 --vendor ${CURRENT_VENDOR} ${variable}
5 OUTPUT_VARIABLE value OUTPUT_STRIP_TRAILING_WHITESPACE)
6 string(REPLACE "&${variable};" "${value}" input "${input}")
7endforeach()
8file(WRITE ${OUT} "${input}")