mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
14 lines
450 B
CMake
14 lines
450 B
CMake
if(NOT TARGET lv2::lv2)
|
|
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)
|
|
|
|
add_library(lv2::lv2 INTERFACE IMPORTED)
|
|
|
|
set_target_properties(lv2::lv2 PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
|
|
)
|
|
|
|
unset(_IMPORT_PREFIX)
|
|
endif()
|