Skip to content

Commit 42ca0ba

Browse files
authored
Merge pull request #692 from fjtrujy/fix_cmake
Adding gsKit include folder to cmake toolchain
2 parents 57d6ae6 + b112d72 commit 42ca0ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/ps2dev.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ SET(CMAKE_SYSTEM_PROCESSOR mips)
2929
SET(CMAKE_C_COMPILER mips64r5900el-ps2-elf-gcc)
3030
SET(CMAKE_CXX_COMPILER mips64r5900el-ps2-elf-g++)
3131

32-
SET(EE_CFLAGS "-I$ENV{PS2SDK}/ee/include -I$ENV{PS2SDK}/common/include -I$ENV{PS2SDK}/ports/include -D_EE -DPS2 -D__PS2__ -O2 -G0" CACHE STRING "EE C compiler flags" FORCE)
32+
SET(EE_CFLAGS "-I$ENV{PS2SDK}/ee/include -I$ENV{PS2SDK}/common/include -I$ENV{PS2DEV}/gsKit/include -I$ENV{PS2SDK}/ports/include -D_EE -DPS2 -D__PS2__ -O2 -G0" CACHE STRING "EE C compiler flags" FORCE)
3333
SET(EE_LDFLAGS "-L$ENV{PS2SDK}/ee/lib -L$ENV{PS2DEV}/gsKit/lib -L$ENV{PS2SDK}/ports/lib -Wl,-zmax-page-size=128 -T$ENV{PS2SDK}/ee/startup/linkfile" CACHE STRING "EE linker flags" FORCE)
3434

3535
SET(CMAKE_TARGET_INSTALL_PREFIX $ENV{PS2DEV}/ports)

0 commit comments

Comments
 (0)