From 987cd34df05591071cdf1c5cda8e65aa625a29c7 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 9 Aug 2023 00:04:08 -0500 Subject: [PATCH] [ox/std] Fix Linux build --- deps/ox/src/ox/std/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deps/ox/src/ox/std/CMakeLists.txt b/deps/ox/src/ox/std/CMakeLists.txt index 5fa2355c7..cc05670cf 100644 --- a/deps/ox/src/ox/std/CMakeLists.txt +++ b/deps/ox/src/ox/std/CMakeLists.txt @@ -47,6 +47,11 @@ if(NOT MSVC) if(${OX_LINUX}) target_compile_options(OxStd PUBLIC -export-dynamic) #target_link_options(OxStd PUBLIC -W1,-E) + elseif(${OX_FREEBSD}) + target_link_libraries( + OxStd PUBLIC + execinfo + ) endif() endif() @@ -74,7 +79,6 @@ endif() target_link_libraries( OxStd PUBLIC $<$:gcc> - $<$:execinfo> OxTraceHook )