[ox/std] Make oxDebug trigger build failure if OX_NODEBUG is set to ON
This commit is contained in:
11
deps/ox/src/ox/std/CMakeLists.txt
vendored
11
deps/ox/src/ox/std/CMakeLists.txt
vendored
@@ -38,12 +38,11 @@ if(NOT OX_BARE_METAL)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(OX_USE_STDLIB)
|
||||
target_compile_definitions(
|
||||
OxStd PUBLIC
|
||||
OX_USE_STDLIB
|
||||
)
|
||||
endif()
|
||||
target_compile_definitions(
|
||||
OxStd PUBLIC
|
||||
$<$<BOOL:${OX_USE_STDLIB}>:OX_USE_STDLIB>
|
||||
$<$<BOOL:$ENV{OX_NODEBUG}>:OX_NODEBUG>
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
OxStd PUBLIC
|
||||
|
Reference in New Issue
Block a user