1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 02:12:45 +01:00

Fix conan script error due to conan API change

This commit is contained in:
Berk Özkütük 2018-09-02 16:09:49 +03:00 committed by Daniel Evans
parent 0e098b4fa0
commit 270cfea7e7

View File

@ -31,7 +31,7 @@ def to_cmake_generator(vs_version, arch):
def create_solution(path, vs_version, arch):
conan, _, _ = conan_api.ConanAPIV1.factory()
conan.remote_add(remote='bincrafters', url='https://api.bintray.com/conan/bincrafters/public-conan', force=True)
conan.remote_add('bincrafters', 'https://api.bintray.com/conan/bincrafters/public-conan', force=True)
conan_arch = conan_arch_map[arch]
conan.install(path=openrw_path, generators=('cmake_multi',), build=['missing', ],
settings=('build_type=Debug', 'arch={}'.format(conan_arch), ), install_folder=path)