[ox/std] Fix Linux build
This commit is contained in:
parent
da6eb40966
commit
987cd34df0
6
deps/ox/src/ox/std/CMakeLists.txt
vendored
6
deps/ox/src/ox/std/CMakeLists.txt
vendored
@ -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
|
||||
$<$<CXX_COMPILER_ID:GNU>:gcc>
|
||||
$<$<BOOL:${OX_FREEBSD}>:execinfo>
|
||||
OxTraceHook
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user