mirror of
https://github.com/transmission/transmission.git
synced 2025-12-19 18:08:31 +00:00
* 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
237 B
CMake
10 lines
237 B
CMake
add_library(RapidJSON INTERFACE IMPORTED)
|
|
|
|
target_include_directories(RapidJSON
|
|
INTERFACE
|
|
${TR_THIRD_PARTY_SOURCE_DIR}/rapidjson/include)
|
|
|
|
target_compile_definitions(RapidJSON
|
|
INTERFACE
|
|
RAPIDJSON_HAS_STDSTRING=1)
|