aboutsummaryrefslogtreecommitdiff
path: root/ports/gflags/fix-install.patch
blob: eda5b7f9875c75144d95c595eebbf75ac5ac2899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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  "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