nx windows not need this compile options
This commit is contained in:
parent
e8fb999ef8
commit
06707d3c8c
|
|
@ -62,9 +62,10 @@ if(NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/pvmp3dec_tmp_def.h)
|
||||||
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/pvmp3dec_tmp_def.h "#pragma once\n#define OSCL_UNUSED_ARG(x) (void)(x)")
|
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/pvmp3dec_tmp_def.h "#pragma once\n#define OSCL_UNUSED_ARG(x) (void)(x)")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_compile_options(pvmp3dec PRIVATE
|
if (NOT NX_WINDOWS)
|
||||||
#-fsanitize=signed-integer-overflow
|
target_compile_options(pvmp3dec PRIVATE
|
||||||
-include ${CMAKE_CURRENT_BINARY_DIR}/pvmp3dec_tmp_def.h
|
#-fsanitize=signed-integer-overflow
|
||||||
#
|
-include ${CMAKE_CURRENT_BINARY_DIR}/pvmp3dec_tmp_def.h
|
||||||
)
|
#
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue