mirror of
https://github.com/transmission/transmission
synced 2024-12-22 15:54:57 +00:00
1c421d6d23
* Prefer `PROJECT_{SOURCE,BINARY}_DIR` to `CMAKE_` ones * Extend use of 3rd-party dir vars to reduce duplication * Fix typo in submodule repo name * Remove `CURL::libcurl` target fallback The target is always available since CMake 3.12, which is our current minimum version.
10 lines
281 B
CMake
10 lines
281 B
CMake
add_library(fmt::fmt-header-only INTERFACE IMPORTED)
|
|
|
|
target_include_directories(fmt::fmt-header-only
|
|
INTERFACE
|
|
${TR_THIRD_PARTY_SOURCE_DIR}/fmt/include)
|
|
|
|
target_compile_definitions(fmt::fmt-header-only
|
|
INTERFACE
|
|
FMT_EXCEPTIONS=0
|
|
FMT_HEADER_ONLY=1)
|