init: don't hardcode the toolchain path

This commit is contained in:
Danny Robson 2019-06-28 10:25:03 +10:00
parent 96a58ed86c
commit 839697f03d

View File

@ -26,7 +26,7 @@ OPTIONS = {
'ninja': { 'args': [ '-G', 'Ninja' ] },
# platforms
'mingw': { 'vars': { 'CMAKE_TOOLCHAIN_FILE': '/home/danny/src/cmakecruft/toolchain/mingw.cmake' }, },
'mingw': { 'vars': { 'CMAKE_TOOLCHAIN_FILE': os.path.realpath(os.path.join(os.path.dirname(__file__), 'mingw.toolchain')) }, },
# Default parameters
'': {