cmake: mark Utilities as needing C++17

This commit is contained in:
TellowKrinkle 2020-09-29 16:53:54 -05:00 committed by tellowkrinkle
parent 2ec8cdb86d
commit a29a4d69d9
2 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,9 @@ set(UtilitiesFinalLibs
add_pcsx2_lib(${Output} "${UtilitiesFinalSources}" "${UtilitiesFinalLibs}" "${UtilitiesFinalFlags}")
add_pcsx2_lib(${Output}_NO_TLS "${UtilitiesFinalSources}" "${UtilitiesFinalLibs}" "${UtilitiesFinalFlags} -DPCSX2_THREAD_LOCAL=0")
target_compile_features(${Output} PUBLIC cxx_std_17)
target_compile_features(${Output}_NO_TLS PUBLIC cxx_std_17)
if(COMMAND target_precompile_headers)
target_precompile_headers(${Output} PRIVATE PrecompiledHeader.h)
target_precompile_headers(${Output}_NO_TLS PRIVATE PrecompiledHeader.h)

View File

@ -73,6 +73,7 @@ set(x86emitterFinalLibs
)
add_pcsx2_lib(${Output} "${x86emitterFinalSources}" "${x86emitterFinalLibs}" "${x86emitterFinalFlags}")
target_compile_features(${Output} PUBLIC cxx_std_17)
if(COMMAND target_precompile_headers)
target_precompile_headers(${Output} PRIVATE PrecompiledHeader.h)