Skip to content

Commit

Permalink
del self.options.fPIC for test package
Browse files Browse the repository at this point in the history
  • Loading branch information
boussaffawalid committed Mar 22, 2021
1 parent fe562e5 commit fb23049
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions recipes/qwt/all/test_package/conanfile.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
from conans import ConanFile, CMake, tools
import os


class QwtTestConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
generators = "cmake"

def configure(self):
if self.options.shared:
del self.options.fPIC

def build(self):
cmake = CMake(self)
cmake.configure()
Expand Down

0 comments on commit fb23049

Please sign in to comment.