diff options
| -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" |
