vcpkg/ports/lastools/fix_include_directories_lastools.patch

13 lines
606 B
Diff
Raw Normal View History

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)