mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:24:17 +01:00
wut.toolchain.cmake: Add internal library directories to find path
This is useful for porting or libraries that do things like `find_library(m)`.
This commit is contained in:
parent
ed2482cad4
commit
77ed28d097
@ -25,7 +25,13 @@ else()
|
||||
endif()
|
||||
|
||||
# Setup root to exclude host system headers + libraries
|
||||
set(CMAKE_FIND_ROOT_PATH "${DEVKITPPC}" "${DEVKITPRO}/tools" "${DEVKITPRO}/portlibs/wiiu" "${DEVKITPRO}/portlibs/ppc" "${WUT_ROOT}/share")
|
||||
set(CMAKE_FIND_ROOT_PATH
|
||||
"${DEVKITPPC}"
|
||||
"${DEVKITPPC}/powerpc-eabi"
|
||||
"${DEVKITPRO}/tools"
|
||||
"${DEVKITPRO}/portlibs/wiiu"
|
||||
"${DEVKITPRO}/portlibs/ppc"
|
||||
"${WUT_ROOT}/share")
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||||
|
Loading…
Reference in New Issue
Block a user