https://bugs.kde.org/show_bug.cgi?id=428995

            Bug ID: 428995
           Summary: CMAKE_FIND_ROOT_PATH is not passed properly to
                    3rdparty projects in androidbuild.sh
           Product: krita
           Version: git master
          Platform: Compiled Sources
                OS: Android 9.x
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: a...@amyspark.me
  Target Milestone: ---

SUMMARY

In androidbuild.sh and the corresponding 3rdparty CMake config, we use
CMAKE_FIND_ROOT_PATH to tell CMake where to look for the libraries.
However, when CMake finds the semicolons in the variable contents (as expected;
it's a list after all), it treats the first item only as its contents; the rest
are silently passed as individual arguments, and therefore discarded.

This issue does not break deps build because the only affected dependency is
ext_frameworks, which is not used in Android; but it'd be wise to fix it up, so
that I can take advantage of it to bundle my GMic plugin.

STEPS TO REPRODUCE
1. Compile dependencies with androidbuild.sh
2. Grep for "CMAKE_FIND_ROOT_PATH" in $BUILD_ROOT/b.

OBSERVED RESULT
The build.make commands include the first item only of CMAKE_FIND_ROOT_PATH.

EXPECTED RESULT
Check that the build.make commands include the whole contents of the list.

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: N/A
(available in About System)
KDE Plasma Version: N/A
KDE Frameworks Version: 5.76.0
Qt Version: 5.12.9

ADDITIONAL INFORMATION
NDK: r21b

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to