Fix for older CMake versions

coolant-mod
Piotr Dziwinski 2015-05-12 22:05:58 +02:00
parent 68fd619311
commit f86c10bbd4
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ function(install_preserving_relative_paths
foreach(output_file ${output_files})
file(RELATIVE_PATH rel_output_file ${output_dir} ${output_file})
get_filename_component(rel_output_file_dir ${rel_output_file} DIRECTORY)
get_filename_component(rel_output_file_dir ${rel_output_file} PATH)
install(FILES ${output_file} DESTINATION ${destination_dir}/${rel_output_file_dir})
endforeach()