vcpkg/ports/libgeotiff/0002-Fix-directory-output.patch
Hiroshi Miura 6f92f7acc5 [libgeotiff] Update patches
- Import CMakeLists updates from libgeotiff trunk HEAD.
  It makes unify target name among static/shared libs.
- Rebased patches and generated from git format-patch command.
  These two patches are as same code as previous one.
- Publish patches on https://github.com/miurahr/libgeotiff

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2018-02-18 09:54:19 +09:00

29 lines
847 B
Diff

From 2b60f0a2c264bf3730e89739384a6d50991b2fc4 Mon Sep 17 00:00:00 2001
From: Hiroshi Miura <miurahr@linux.com>
Date: Wed, 14 Feb 2018 12:31:53 +0900
Subject: [PATCH 2/5] Fix directory output
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
---
cmake/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index 47a2b00..b41f2fa 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -10,8 +10,8 @@ if (NOT WIN32)
set (INSTALL_CMAKE_DIR "share/cmake/${PROJECT_NAME}")
set (PROJECT_ROOT_DIR "../../..")
else ()
- set (INSTALL_CMAKE_DIR "cmake")
- set (PROJECT_ROOT_DIR "..")
+ set (INSTALL_CMAKE_DIR "share/${PROJECT_NAME}")
+ set (PROJECT_ROOT_DIR "../..")
endif ()
configure_file (project-config.cmake.in project-config.cmake @ONLY)
--
2.16.1