mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
refactor: add libsmall dependency (#5649)
* refactor: add small dependency * refactor: use small in variant.cc * refactor: use small in cache.h
This commit is contained in:
11
cmake/FindSmall.cmake
Normal file
11
cmake/FindSmall.cmake
Normal file
@@ -0,0 +1,11 @@
|
||||
add_library(small::small INTERFACE IMPORTED)
|
||||
|
||||
target_include_directories(small::small
|
||||
INTERFACE
|
||||
${CMAKE_CURRENT_LIST_DIR}/../third-party/small/include)
|
||||
|
||||
|
||||
target_compile_definitions(fmt::fmt-header-only
|
||||
INTERFACE
|
||||
SMALL_DISABLE_EXCEPTIONS=1)
|
||||
|
||||
Reference in New Issue
Block a user