Changed DIRECTORY to PATH in get_filename_component for cmake <2.8.12 compatibility

This commit is contained in:
Snaipe 2015-11-18 14:00:17 +01:00
parent eb36959023
commit 221df82a12

View file

@ -248,7 +248,7 @@ if (COVERALLS)
endif()
foreach (F ${INTERFACE_FILES})
get_filename_component(DEST "${F}" DIRECTORY)
get_filename_component(DEST "${F}" PATH)
install(FILES "${F}" DESTINATION "${DEST}")
endforeach ()