forked from etc/pineapple-src
6 lines
217 B
CMake
6 lines
217 B
CMake
|
function(vcpkg_replace_string filename match replace)
|
||
|
file(READ "${filename}" contents)
|
||
|
string(REPLACE "${match}" "${replace}" contents "${contents}")
|
||
|
file(WRITE "${filename}" "${contents}")
|
||
|
endfunction()
|