pineapple-src/externals/vcpkg/ports/clipboardxx/unofficial-clipboardxx-config.cmake.in
2022-07-23 03:01:36 +02:00

20 lines
614 B
CMake
Executable File

get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
if(_IMPORT_PREFIX STREQUAL "/")
set(_IMPORT_PREFIX "")
endif()
add_library(unofficial::ClipboardXX INTERFACE IMPORTED)
set_target_properties(unofficial::ClipboardXX PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${PACKAGE_PREFIX_DIR}/include"
)
if("@VCPKG_TARGET_IS_LINUX@")
set_target_properties(unofficial::ClipboardXX PROPERTIES
INTERFACE_LINK_LIBRARIES "xcb;pthread"
)
endif()
unset(_IMPORT_PREFIX)