Commit 576264ed authored by David Yip's avatar David Yip

Windows: remove fPIC option for test package also

parent 1e7a3b80
......@@ -12,7 +12,11 @@ class LibuvTestConan(ConanFile):
def config_options(self):
self.options.lto = self.options["libuv"].lto
self.options.fPIC = self.options["libuv"].fPIC
if self.settings.os == "Windows":
self.options.remove("fPIC")
else:
self.options.fPIC = self.options["libuv"].fPIC
def build(self):
cmake = CMake(self)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment