diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2023-09-05 13:48:00 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2023-09-05 13:48:00 +0200 |
| commit | 6499fd8d84f7517286e741a4e9e94551fe2711b7 (patch) | |
| tree | 4e8539f19be30d08ece693c46428e24244374784 | |
| parent | ab8bebe0569769df461c43e02b3851db3f2fc696 (diff) | |
| download | wanda-6499fd8d84f7517286e741a4e9e94551fe2711b7.tar.xz wanda-6499fd8d84f7517286e741a4e9e94551fe2711b7.zip | |
deps: switch boost and fmt to header only variant
| -rw-r--r-- | conanfile.py | 2 | ||||
| -rw-r--r-- | source/lib/proto/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | source/lib/system/CMakeLists.txt | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/conanfile.py b/conanfile.py index bd1aa84..2aae993 100644 --- a/conanfile.py +++ b/conanfile.py @@ -43,6 +43,8 @@ class Wanda(ConanFile): cmake.build() def configure(self): + self.options["boost"].header_only = True + self.options["fmt"].header_only = True self.options["spdlog"].header_only = True def generate(self): diff --git a/source/lib/proto/CMakeLists.txt b/source/lib/proto/CMakeLists.txt index 9967a95..53aeb43 100644 --- a/source/lib/proto/CMakeLists.txt +++ b/source/lib/proto/CMakeLists.txt @@ -28,7 +28,7 @@ target_compile_features("wanda-${LIB_NAME}" PUBLIC ) target_link_libraries("wanda-${LIB_NAME}" PUBLIC - "fmt::fmt" + "fmt::fmt-header-only" ) install(TARGETS "wanda-${LIB_NAME}" diff --git a/source/lib/system/CMakeLists.txt b/source/lib/system/CMakeLists.txt index ecfa2c3..6b65f4b 100644 --- a/source/lib/system/CMakeLists.txt +++ b/source/lib/system/CMakeLists.txt @@ -52,7 +52,7 @@ target_link_libraries("wanda-${LIB_NAME}" PUBLIC "wanda::std_ext" "boost::boost" - "fmt::fmt" + "fmt::fmt-header-only" "JPEG::JPEG" "PNG::PNG" "spdlog::spdlog_header_only" |
