mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
[gflags] Fix regression in previous gflags update for existing users.
This commit is contained in:
parent
5700754bd1
commit
76c28ad78e
@ -12,6 +12,11 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_apply_patches(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PATCHES "${CMAKE_CURRENT_LIST_DIR}/revert-fix-install.patch"
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
|
15
ports/gflags/revert-fix-install.patch
Normal file
15
ports/gflags/revert-fix-install.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 922a038..7d6af45 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -410,8 +410,8 @@ if (OS_WINDOWS)
|
||||
set (RUNTIME_INSTALL_DIR "bin")
|
||||
set (LIBRARY_INSTALL_DIR "lib")
|
||||
set (INCLUDE_INSTALL_DIR "include")
|
||||
- set (CONFIG_INSTALL_DIR "share/${PACKAGE_NAME}")
|
||||
- set (PKGCONFIG_INSTALL_DIR "")
|
||||
+ set (CONFIG_INSTALL_DIR "lib/cmake/${PACKAGE_NAME}")
|
||||
+ set (PKGCONFIG_INSTALL_DIR)
|
||||
else ()
|
||||
set (RUNTIME_INSTALL_DIR bin)
|
||||
# The LIB_INSTALL_DIR and LIB_SUFFIX variables are used by the Fedora
|
Loading…
x
Reference in New Issue
Block a user