mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2024-12-28 04:23:38 +01:00
cmake: fix install dirs reversing at second build
This commit is contained in:
parent
4b90740d3b
commit
04e910441a
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,9 @@ if(FXLIBC_TARGET STREQUAL gint)
|
|||
# Default to fxSDK install path
|
||||
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||
set(CMAKE_INSTALL_PREFIX "${FXSDK_COMPILER_INSTALL}" CACHE PATH "..." FORCE)
|
||||
endif()
|
||||
|
||||
if(CMAKE_INSTALL_PREFIX STREQUAL "${FXSDK_COMPILER_INSTALL}")
|
||||
set(LIBDIR ".")
|
||||
set(INCDIR "include")
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue