mirror of
https://github.com/transmission/transmission
synced 2024-12-23 00:04:06 +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.
14 lines
276 B
CMake
14 lines
276 B
CMake
add_library(vdkqueue STATIC)
|
|
|
|
target_sources(vdkqueue
|
|
PRIVATE
|
|
VDKQueue.h
|
|
VDKQueue.mm)
|
|
|
|
set_property(
|
|
TARGET vdkqueue
|
|
PROPERTY FOLDER "${TR_THIRD_PARTY_DIR_NAME}")
|
|
|
|
target_include_directories(vdkqueue
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR})
|