mirror of https://github.com/PCSX2/pcsx2.git
cmake: mark Utilities as needing C++17
This commit is contained in:
parent
2ec8cdb86d
commit
a29a4d69d9
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue