[ox] Fix for Windows
This commit is contained in:
7
deps/ox/src/ox/std/CMakeLists.txt
vendored
7
deps/ox/src/ox/std/CMakeLists.txt
vendored
@@ -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
|
||||
)
|
||||
|
Reference in New Issue
Block a user