mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 19:47:50 +08:00
6f92f7acc5
- 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>
29 lines
847 B
Diff
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
|
|
|