init: don't hardcode the toolchain path
This commit is contained in:
parent
96a58ed86c
commit
839697f03d
2
init.py
2
init.py
@ -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
|
||||
'': {
|
||||
|
Loading…
Reference in New Issue
Block a user