1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix builtin_embree=no build linking the wrong version of Embree

This commit is contained in:
Jakub Marcowski
2024-05-08 00:26:40 +02:00
committed by Jakub Marcowski
parent ec78dde748
commit 7699d678c4
3 changed files with 3 additions and 3 deletions

View File

@@ -309,7 +309,7 @@ def configure(env: "SConsEnvironment"):
if not env["builtin_embree"] and env["arch"] in ["x86_64", "arm64"]:
# No pkgconfig file so far, hardcode expected lib name.
env.Append(LIBS=["embree3"])
env.Append(LIBS=["embree4"])
if not env["builtin_openxr"]:
env.ParseConfig("pkg-config openxr --cflags --libs")