mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
third-party: Create path in CopyFilesGlob.cmake
This commit is contained in:
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)
|
||||
|
Reference in New Issue
Block a user