mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
third-party: Create path in CopyFilesGlob.cmake
This commit is contained in:
parent
faafd9b70c
commit
04012349f6
2
third-party/cmake/CopyFilesGlob.cmake
vendored
2
third-party/cmake/CopyFilesGlob.cmake
vendored
@ -9,6 +9,8 @@ if(NOT TO)
|
||||
message(FATAL_ERROR "TO must be set")
|
||||
endif()
|
||||
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${TO})
|
||||
|
||||
file(GLOB files ${FROM_GLOB})
|
||||
foreach(file ${files})
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${file} ${TO} RESULT_VARIABLE rv)
|
||||
|
Loading…
Reference in New Issue
Block a user