mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-13 00:40:51 +00:00
Fix mingw build, take 2
This commit is contained in:
parent
961097315c
commit
da547f5533
@ -12,7 +12,7 @@ if build == 'mingw':
|
||||
build_command = ['mingw32-make', '-j4']
|
||||
test_command = ['mingw32-make', 'test']
|
||||
# Remove the path to Git bin directory from $PATH because it breaks MinGW config.
|
||||
path = os.environ['PATH'].replace(r'C:\Program Files (x86)\Git\bin', '')
|
||||
os.environ['PATH'] = os.environ['PATH'].replace(r'C:\Program Files (x86)\Git\bin', '')
|
||||
else:
|
||||
build_command = ['msbuild', '/m:4', '/p:Config=' + config, 'FORMAT.sln']
|
||||
test_command = ['msbuild', 'RUN_TESTS.vcxproj']
|
||||
|
Loading…
Reference in New Issue
Block a user