mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-03 16:51:27 +00:00
pspdev.cmake: don't use -isystem for C++, because CMake breaks include_next
... by using -isystem instead of -I for all pkg-config-provided include dirs, turning those effectively into system include dirs.
This commit is contained in:
@@ -10,7 +10,7 @@ SET(CMAKE_SYSTEM_PROCESSOR mips)
|
||||
SET(CMAKE_C_COMPILER psp-gcc)
|
||||
SET(CMAKE_CXX_COMPILER psp-g++)
|
||||
SET(CMAKE_C_FLAGS_INIT "-isystem ${PSPDEV}/psp/include -I${PSPDEV}/psp/sdk/include -DPSP")
|
||||
SET(CMAKE_CXX_FLAGS_INIT "-isystem ${PSPDEV}/psp/include -I${PSPDEV}/psp/sdk/include -DPSP")
|
||||
SET(CMAKE_CXX_FLAGS_INIT "-I${PSPDEV}/psp/include -I${PSPDEV}/psp/sdk/include -DPSP")
|
||||
SET(CMAKE_EXE_LINKER_FLAGS_INIT "-L${PSPDEV}/lib -L${PSPDEV}/psp/lib -L${PSPDEV}/psp/sdk/lib -Wl,-zmax-page-size=128")
|
||||
#SET(CMAKE_SHARED_LINKER_FLAGS_INIT "...")
|
||||
#SET(CMAKE_STATIC_LINKER_FLAGS_CONFIG_INIT "...")
|
||||
|
Reference in New Issue
Block a user