From 1e0bb01d84a6517a687f90f298aa62c2c164308a Mon Sep 17 00:00:00 2001 From: Matt Hoosier Date: Thu, 16 Jan 2020 13:31:38 -0600 Subject: Link libfmt in header-only mode This saves us the trouble of having a copy of its shared library installed into the target filesystem, which would conflict with an independently packaged copy. Only the headers are needed to accomplish the usages that Kms++ makes. --- kms++/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kms++/CMakeLists.txt b/kms++/CMakeLists.txt index e095ce0..c02cc83 100644 --- a/kms++/CMakeLists.txt +++ b/kms++/CMakeLists.txt @@ -22,7 +22,7 @@ target_include_directories(kms++ PUBLIC $ PRIVATE src) -target_link_libraries(kms++ ${LIBDRM_LIBRARIES} ${LIBDRM_OMAP_LIBRARIES} fmt::fmt) +target_link_libraries(kms++ ${LIBDRM_LIBRARIES} ${LIBDRM_OMAP_LIBRARIES} fmt::fmt-header-only) # Set a dummy SOVERSION just to avoid having a naked .so file in the filesystem. # This version number doesn't make any promise about API/ABI stability. -- cgit v1.2.3