diff --git a/init.py b/init.py index e5aa525..73e9706 100755 --- a/init.py +++ b/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 '': {