cmake-auto-align-paths.bbclass: allow addition files to align
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ do_configure_prepend_class-nativesdk() {
|
||||
|
||||
do_configure_append() {
|
||||
# remove absolute paths from exported cmake files
|
||||
for f in `find ${B}/CMakeFiles/Export -name '*.cmake'` ; do
|
||||
for f in `find ${B}/CMakeFiles/Export -name '*.cmake'` ${CMAKE_ADD_ALIGN_FILES} ; do
|
||||
sed -i 's:${STAGING_INCDIR_NATIVE}:${includedir}:g' "$f"
|
||||
sed -i 's:${STAGING_INCDIR}:${includedir}:g' "$f"
|
||||
sed -i 's:${STAGING_LIBDIR_NATIVE}:${libdir}:g' "$f"
|
||||
|
||||
Reference in New Issue
Block a user