Skip to content

Commit 4f055ba

Browse files
Update conanfile.py
1 parent 00a869c commit 4f055ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

conanfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ class PizzaTestConan(ConanFile):
1313
topics = ("testing", "mocking", "framework")
1414
settings = "os", "compiler", "build_type", "arch"
1515
options = {"shared": [True, False]}
16-
default_options = {"shared": False} # static library
16+
default_options = {"shared": False}
1717
exports_sources = "code/logic/*", "meson.build"
1818
generators = "PkgConfigDeps"
1919

2020
def build(self):
2121
meson = Meson(self)
22-
meson.configure()
22+
meson.configure(build_folder="build") # <-- FIX: force clean build dir
2323
meson.build()
2424

2525
def package(self):
@@ -30,4 +30,4 @@ def package(self):
3030

3131
def package_info(self):
3232
self.cpp_info.libs = ["pizza_test"]
33-
self.cpp_info.includedirs = ["include"]
33+
self.cpp_info.includedirs = ["include"]

0 commit comments

Comments
 (0)