diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2023-06-02 14:13:00 +0200 |
|---|---|---|
| committer | Juan Ramos <114601453+juan-lunarg@users.noreply.github.com> | 2023-06-02 17:03:37 -0600 |
| commit | 2c83dd6cb2ef710bab843b69776997d6f2c12ba4 (patch) | |
| tree | 4cf057755ecd6cab424c6750980a241a4b76049c | |
| parent | 9a252664d779bc726cc97a85ca407641bf148e83 (diff) | |
| download | usermoji-2c83dd6cb2ef710bab843b69776997d6f2c12ba4.tar.xz | |
scripts/CMakeLists.txt: append to CMAKE_FIND_ROOT_PATH instead of replacing it
Resetting CMAKE_FIND_ROOT_PATH in particular breaks builds in Yocto
(which is a major cross compiling framework).
| -rw-r--r-- | scripts/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt index 5b979d43..19a58bf9 100644 --- a/scripts/CMakeLists.txt +++ b/scripts/CMakeLists.txt @@ -114,7 +114,7 @@ if (MOLTENVK_REPO_ROOT) endif() if (CMAKE_CROSSCOMPILING) - set(CMAKE_FIND_ROOT_PATH ${CMAKE_PREFIX_PATH} PARENT_SCOPE) + set(CMAKE_FIND_ROOT_PATH ${CMAKE_FIND_ROOT_PATH} ${CMAKE_PREFIX_PATH} PARENT_SCOPE) else() set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} PARENT_SCOPE) endif() |
