vcpkg/ports/gflags/fix-install.patch

16 lines
552 B
Diff
Raw Normal View History

2017-05-07 04:33:59 +08:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
2018-01-10 22:26:56 +08:00
index 922a038..7d6af45 100644
2017-05-07 04:33:59 +08:00
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
2018-01-10 22:26:56 +08:00
@@ -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 "lib/cmake/${PACKAGE_NAME}")
2017-05-07 04:33:59 +08:00
- set (PKGCONFIG_INSTALL_DIR)
+ set (CONFIG_INSTALL_DIR "share/${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