cmake: create a directory for toolchain files

This commit is contained in:
Danny Robson 2020-10-26 12:28:10 +10:00
parent 980c762ba2
commit 3e96dea278
2 changed files with 3 additions and 4 deletions

View File

@ -142,10 +142,9 @@ OPTIONS['ninja'] = Option(
# -----------------------------------------------------------------------------
OPTIONS['mingw'] = Option(
vars={
'CMAKE_TOOLCHAIN_FILE': os.path.realpath(
os.path.join(
'CMAKE_TOOLCHAIN_FILE': os.path.join(
os.path.dirname(__file__),
'mingw.toolchain')
'cmake', 'toolchain', 'mingw'
)
},
compiler='gcc',