[ox] Fix FreeBSD build
This commit is contained in:
3
deps/ox/src/ox/std/CMakeLists.txt
vendored
3
deps/ox/src/ox/std/CMakeLists.txt
vendored
@@ -44,7 +44,7 @@ add_library(
|
||||
if(NOT MSVC)
|
||||
target_compile_options(OxStd PRIVATE -Wsign-conversion)
|
||||
target_compile_options(OxStd PRIVATE -Wconversion)
|
||||
if(UNIX AND NOT APPLE)
|
||||
if(${OX_LINUX})
|
||||
target_compile_options(OxStd PUBLIC -export-dynamic)
|
||||
#target_link_options(OxStd PUBLIC -W1,-E)
|
||||
endif()
|
||||
@@ -74,6 +74,7 @@ endif()
|
||||
target_link_libraries(
|
||||
OxStd PUBLIC
|
||||
$<$<CXX_COMPILER_ID:GNU>:gcc>
|
||||
$<$<BOOL:${OX_FREEBSD}>:execinfo>
|
||||
OxTraceHook
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user