Make psemek_package_files respect relative directories
This commit is contained in:
parent
630ae28301
commit
e19b515404
1 changed files with 4 additions and 1 deletions
|
|
@ -135,6 +135,9 @@ function(psemek_package_files target)
|
|||
)
|
||||
endif()
|
||||
else()
|
||||
file(COPY ${ARGN} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||
foreach(_FILE ${ARGN})
|
||||
get_filename_component(_DIR ${_FILE} DIRECTORY)
|
||||
file(COPY ${_FILE} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/${_DIR})
|
||||
endforeach()
|
||||
endif()
|
||||
endfunction()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue