transmission/cmake/FindSmall.cmake

12 lines
265 B
CMake

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)