vcpkg/ports/lastools/fix_include_directories_lastools.patch
Obbart c4c22be7df
[lastools] Update to 2.0.2, fix include directories (#29770)
* [lastools] Update to 2.0.2, fix include directories

* [lastools] Updated version database

* [lastools] Replaced deprecated functions

* [lastools] Updated reference, fixed ci.baseline.txt

* [lastools] Updated versions database

* [lastools] Removed port-version from vcpkg.json

* [lastools] Updated version database

* [lastools] Fixed port version

* [lastools] Updated version database

---------

Co-authored-by: Emanuele Trabattoni <Emanuele.Trabattoni@faro.com>
2023-02-23 11:19:45 -08:00

13 lines
606 B
Diff

diff --git a/LASlib/src/laslib-config.cmake b/LASlib/src/laslib-config.cmake
index b959a64..eab3466 100644
--- a/LASlib/src/laslib-config.cmake
+++ b/LASlib/src/laslib-config.cmake
@@ -1,6 +1,6 @@
get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
include(${SELF_DIR}/laslib-targets.cmake)
-get_filename_component(LASlib_INCLUDE_DIRS "${SELF_DIR}/../../../include/LASlib" ABSOLUTE)
+get_filename_component(LASlib_INCLUDE_DIRS "${SELF_DIR}/../../include/LASlib" ABSOLUTE)
set_property(TARGET LASlib PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${LASlib_INCLUDE_DIRS})
set(LASlib_FOUND true)