summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/detect.py
diff options
context:
space:
mode:
authorJakub Marcowski <37378746+Chubercik@users.noreply.github.com>2024-05-08 00:26:40 +0200
committerJakub Marcowski <chubercikbattle@gmail.com>2024-05-08 00:40:45 +0200
commit7699d678c417945dda228c468731a1e3369dd88a (patch)
tree607849c066e6c236ddea1125e7a11ecb12d23a3d /platform/linuxbsd/detect.py
parentec78dde7483fd1b9e70d9346f0753ccae1bc52d1 (diff)
downloadredot-engine-7699d678c417945dda228c468731a1e3369dd88a.tar.gz
Fix `builtin_embree=no` build linking the wrong version of Embree
Diffstat (limited to 'platform/linuxbsd/detect.py')
-rw-r--r--platform/linuxbsd/detect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py
index afc9d25a80..a8b8d2934a 100644
--- a/platform/linuxbsd/detect.py
+++ b/platform/linuxbsd/detect.py
@@ -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")