mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 12:24:26 +02:00
feat: 💥 API-related Conan, CMake, and preprocessor options redesigned
This commit is contained in:
@@ -39,8 +39,8 @@ class TestPackageConan(ConanFile):
|
||||
|
||||
def generate(self):
|
||||
tc = CMakeToolchain(self)
|
||||
tc.variables["MP_UNITS_USE_FMTLIB"] = bool(
|
||||
self.dependencies["mp-units"].options.use_fmtlib
|
||||
tc.variables["MP_UNITS_API_STD_FORMAT"] = bool(
|
||||
self.dependencies["mp-units"].options.std_format
|
||||
)
|
||||
tc.generate()
|
||||
|
||||
|
Reference in New Issue
Block a user