]> git.saurik.com Git - apt.git/blame - CMake/vendor_substitute.cmake
debian/NEWS: Get rid of 1.3~pre3+cmake1 entry
[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}")