mirror of https://github.com/PCSX2/pcsx2.git
cmake: Remove old macro substitution workaround
The workaround was used to prevent macro substitution occuring on paths containing "linux", but it's no longer necessary since "linux" is not set as a predefined macro when a "-std=" option is passed to gcc. Fixes #2268.
This commit is contained in:
parent
43d0bd99cb
commit
fad0a2a55f
|
@ -707,11 +707,4 @@ if(USE_VTUNE)
|
|||
set(pcsx2FinalLibs ${pcsx2FinalLibs} ${VTUNE_LIBRARIES})
|
||||
endif()
|
||||
|
||||
# Suppress all the system-specific predefined macros outside the reserved namespace.
|
||||
# Needed when stringifying macros.
|
||||
# See issue: 1233
|
||||
if(PACKAGE_MODE)
|
||||
SET_SOURCE_FILES_PROPERTIES(gui/AppConfig.cpp PROPERTIES COMPILE_FLAGS "-Wp,-ansi,-U__STRICT_ANSI__")
|
||||
endif()
|
||||
|
||||
add_pcsx2_executable(${Output} "${pcsx2FinalSources}" "${pcsx2FinalLibs}" "${pcsx2FinalFlags}")
|
||||
|
|
Loading…
Reference in New Issue