forked from qt-creator/qt-creator
cmake expects forward slashes here - even on windows
Change-Id: Ia31727b703745e01d6def91237a0bc46ea37261a Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
+1
-1
@@ -131,7 +131,7 @@ def build_qtcreator(args, paths):
|
||||
cmake_args += ['-DPYTHON_EXECUTABLE=' + args.python3]
|
||||
|
||||
if args.module_paths:
|
||||
module_paths = [os.path.abspath(fp) for fp in args.module_paths]
|
||||
module_paths = [os.path.abspath(fp).replace('\\', '/') for fp in args.module_paths]
|
||||
cmake_args += ['-DCMAKE_MODULE_PATH=' + ';'.join(module_paths)]
|
||||
|
||||
# force MSVC on Windows, because it looks for GCC in the PATH first,
|
||||
|
||||
Reference in New Issue
Block a user