mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 20:54:28 +02:00
build: the remaining Conan dependencies added
This commit is contained in:
@@ -82,7 +82,7 @@ class MPUnitsConan(ConanFile):
|
||||
|
||||
@property
|
||||
def _skip_docs(self):
|
||||
return bool(self.conf.get("user.build:skip_docs", default=True))
|
||||
return bool(self.conf.get("user.build:skip_docs", default=False))
|
||||
|
||||
@property
|
||||
def _use_libfmt(self):
|
||||
@@ -114,10 +114,9 @@ class MPUnitsConan(ConanFile):
|
||||
def build_requirements(self):
|
||||
if self._build_all:
|
||||
self.test_requires("catch2/3.1.0")
|
||||
# TODO uncomment the below when recipes in ConanCenter are fixed
|
||||
# self.test_requires("wg21-linear_algebra/0.7.2")
|
||||
# if not self._skip_docs:
|
||||
# self.tool_requires("doxygen/1.9.4")
|
||||
self.test_requires("wg21-linear_algebra/0.7.3")
|
||||
if not self._skip_docs:
|
||||
self.tool_requires("doxygen/1.9.4")
|
||||
|
||||
def validate(self):
|
||||
check_min_cppstd(self, self._min_cppstd)
|
||||
|
Reference in New Issue
Block a user