vcpkg/ports/gflags/fix-install.patch
2018-01-10 16:26:56 +02:00

16 lines
552 B
Diff

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 "lib/cmake/${PACKAGE_NAME}")
- 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