diff --git a/mingw.toolchain b/cmake/toolchain/mingw similarity index 100% rename from mingw.toolchain rename to cmake/toolchain/mingw diff --git a/init.py b/init.py index f4a5c01..453b253 100755 --- a/init.py +++ b/init.py @@ -142,10 +142,9 @@ OPTIONS['ninja'] = Option( # ----------------------------------------------------------------------------- OPTIONS['mingw'] = Option( vars={ - 'CMAKE_TOOLCHAIN_FILE': os.path.realpath( - os.path.join( - os.path.dirname(__file__), - 'mingw.toolchain') + 'CMAKE_TOOLCHAIN_FILE': os.path.join( + os.path.dirname(__file__), + 'cmake', 'toolchain', 'mingw' ) }, compiler='gcc',