🐛 Fixed freeimage build on Win32
This commit is contained in:
parent
18bc3e7c21
commit
8e7b6f9306
@ -31,7 +31,9 @@ class freeimageConan(ConanFile):
|
|||||||
_build_type = "Release"
|
_build_type = "Release"
|
||||||
|
|
||||||
msbuild = MSBuild(self)
|
msbuild = MSBuild(self)
|
||||||
msbuild.build("FreeImage.2017.sln", build_type=_build_type)
|
msbuild.build(
|
||||||
|
"FreeImage.2017.sln", build_type=_build_type, platforms={"x86": "Win32"}
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
autotools = AutoToolsBuildEnvironment(self)
|
autotools = AutoToolsBuildEnvironment(self)
|
||||||
autotools.make()
|
autotools.make()
|
||||||
@ -49,4 +51,4 @@ class freeimageConan(ConanFile):
|
|||||||
|
|
||||||
def package_info(self):
|
def package_info(self):
|
||||||
self.cpp_info.name = "FreeImage"
|
self.cpp_info.name = "FreeImage"
|
||||||
self.cpp_info.libs = tools.collect_libs(self)
|
self.cpp_info.libs = tools.collect_libs(self)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user