cmake: fix psvita builds

This commit is contained in:
fgsfds 2023-03-09 15:42:16 +01:00
parent 2326ad038d
commit a98ed47403
1 changed files with 4 additions and 0 deletions

View File

@ -186,6 +186,10 @@ else()
add_definitions(-D_CRT_SILENCE_NONCONFORMING_TGMATH_H)
endif()
if(VITA)
add_compile_options(-fno-use-cxa-atexit)
endif()
check_include_file("tgmath.h" HAVE_TGMATH_H)
if(HAVE_TGMATH_H)
if(NOT MSVC)