Skip to content

Commit 667ef19

Browse files
QuzarDCQuzarDC
authored andcommitted
cmake: Correct path for addon includes.
Was incorrectly defined in KallistiOS#1035. The addons include DIR does not separate by arch. It's expected the headers would be shared across archs. This then rolls back KallistiOS#1109 which was done in order to work around the incorrect definition that was provided in KallistiOS#1035.
1 parent 11f2af5 commit 667ef19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

environ_base.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fi
2626

2727
# Our includes.
2828
export KOS_INC_PATHS="${KOS_INC_PATHS} -I${KOS_BASE}/include \
29-
-I${KOS_BASE}/kernel/arch/${KOS_ARCH}/include -I${KOS_BASE}/addons/include/ -I${KOS_BASE}/addons/include/${KOS_ARCH} \
29+
-I${KOS_BASE}/kernel/arch/${KOS_ARCH}/include -I${KOS_BASE}/addons/include/ \
3030
-I${KOS_PORTS}/include"
3131

3232
# "System" libraries.

utils/cmake/kallistios.toolchain.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ set(CMAKE_EXE_LINKER_FLAGS_DEBUG -fno-lto)
9494
# Default CMake installations to install to kos-addons
9595
set(CMAKE_INSTALL_BINDIR ${DC_TOOLS_BASE})
9696
if(NOT DEFINED CMAKE_INSTALL_INCLUDEDIR)
97-
set(CMAKE_INSTALL_INCLUDEDIR ${KOS_ADDONS}/include/${KOS_ARCH})
97+
set(CMAKE_INSTALL_INCLUDEDIR ${KOS_ADDONS}/include)
9898
endif()
9999
if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
100100
set(CMAKE_INSTALL_LIBDIR ${KOS_ADDONS}/lib/${KOS_ARCH})

0 commit comments

Comments
 (0)