aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/livepp/unofficial-liveppConfig.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/livepp/unofficial-liveppConfig.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/livepp/unofficial-liveppConfig.cmake')
-rw-r--r--vcpkg/ports/livepp/unofficial-liveppConfig.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/vcpkg/ports/livepp/unofficial-liveppConfig.cmake b/vcpkg/ports/livepp/unofficial-liveppConfig.cmake
new file mode 100644
index 0000000..d42dc25
--- /dev/null
+++ b/vcpkg/ports/livepp/unofficial-liveppConfig.cmake
@@ -0,0 +1,16 @@
+if(NOT TARGET unofficial::livepp::livepp)
+ 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::livepp::livepp INTERFACE IMPORTED)
+ set_target_properties(unofficial::livepp::livepp PROPERTIES
+ INTERFACE_COMPILE_DEFINITIONS VCPKG_LIVEPP_PATH="${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/tools/livepp"
+ INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
+ )
+
+ unset(_IMPORT_PREFIX)
+endif() \ No newline at end of file