make_directory is deprecated. Use file(MAKE_DIRECTORY ...)

This commit is contained in:
Andrew Noyes 2021-08-25 11:30:26 -07:00
parent 5d84ffe019
commit 92c52d44d8
1 changed files with 3 additions and 3 deletions

View File

@ -172,15 +172,15 @@ configure_file("${mv_packaging_dir}/clients/postinst" "${script_dir}/clients/pos
configure_file("${mv_packaging_dir}/clients/prerm" "${script_dir}/clients" @ONLY)
#make sure all directories we need exist
make_directory("${mv_packaging_dir}/clients/usr/lib/foundationdb")
file(MAKE_DIRECTORY "${mv_packaging_dir}/clients/usr/lib/foundationdb")
install(DIRECTORY "${mv_packaging_dir}/clients/usr/lib/foundationdb"
DESTINATION usr/lib
COMPONENT clients-versioned)
make_directory("${mv_packaging_dir}/clients/usr/lib/pkgconfig")
file(MAKE_DIRECTORY "${mv_packaging_dir}/clients/usr/lib/pkgconfig")
install(DIRECTORY "${mv_packaging_dir}/clients/usr/lib/pkgconfig"
DESTINATION usr/lib
COMPONENT clients-versioned)
make_directory("${mv_packaging_dir}/clients/usr/lib/cmake")
file(MAKE_DIRECTORY "${mv_packaging_dir}/clients/usr/lib/cmake")
install(DIRECTORY "${mv_packaging_dir}/clients/usr/lib/cmake"
DESTINATION usr/lib
COMPONENT clients-versioned)