mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-03 13:23:00 +00:00
Fix Yocto cross build
After renaming the features, the if conditions need to be adjusted.
This commit is contained in:
parent
dbe9f33bb4
commit
a24c33b8ea
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ endif(SLINT_STYLE)
|
||||||
# * We look for clang or gcc in PATH - unprefixed those are usually host compilers.
|
# * We look for clang or gcc in PATH - unprefixed those are usually host compilers.
|
||||||
# * Through corrosion we know the correct host value of CC_<triplet>.
|
# * Through corrosion we know the correct host value of CC_<triplet>.
|
||||||
# Finally, we set CC_<host triplet> to clang or gcc and empty CFLAGS_<host triplet>
|
# Finally, we set CC_<host triplet> to clang or gcc and empty CFLAGS_<host triplet>
|
||||||
if((SLINT_FEATURE_RENDERER_SKIA OR SLINT_FEATURE_RENDERER_SKIA_OPENGL) AND CMAKE_CROSSCOMPILING AND Rust_CARGO_HOST_TARGET)
|
if((SLINT_FEATURE_RENDERER_WINIT_SKIA OR SLINT_FEATURE_RENDERER_WINIT_SKIA_OPENGL) AND CMAKE_CROSSCOMPILING AND Rust_CARGO_HOST_TARGET)
|
||||||
find_program(CLANG clang)
|
find_program(CLANG clang)
|
||||||
if(CLANG)
|
if(CLANG)
|
||||||
set(host_cc "${CLANG}")
|
set(host_cc "${CLANG}")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue