[ox] Fix for Windows

This commit is contained in:
2022-12-17 13:36:18 -06:00
parent ad412177ab
commit 4077f0bddc
5 changed files with 33 additions and 6 deletions

View File

@@ -57,9 +57,14 @@ target_compile_definitions(
$<$<BOOL:${OX_NODEBUG}>:OX_NODEBUG>
)
if(NOT WIN32)
target_link_libraries(
OxStd PUBLIC
$<$<CXX_COMPILER_ID:GNU>:$<$<BOOL:${OX_USE_STDLIB}>:dl>>
)
endif()
target_link_libraries(
OxStd PUBLIC
$<$<CXX_COMPILER_ID:GNU>:$<$<BOOL:${OX_USE_STDLIB}>:dl>>
$<$<CXX_COMPILER_ID:GNU>:gcc>
OxTraceHook
)