Merge pull request #57 from bombela/issue-55

Fix conanfile recipe
This commit is contained in:
François-Xavier Bourlet 2017-02-20 15:10:21 -08:00 committed by GitHub
commit 240366076f

View File

@ -29,7 +29,7 @@ class BackwardCpp(ConanFile):
generators = 'cmake'
def cmake_option(self, option, prefix = ''):
return '-D{}{}={}'.format(prefix, option.upper(), self.options[option])
return '-D{}{}={}'.format(prefix, option.upper(), getattr(self.options, option))
def build(self):
cmake = CMake(self.settings)