aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/glog/fix_glog_CMAKE_MODULE_PATH.patch
blob: 39bda83795fe7879f833a5d6a478c6722368d288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b787631..41bf110 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1000,7 +1000,7 @@ write_basic_package_version_file (
 
 export (TARGETS glog NAMESPACE glog:: FILE glog-targets.cmake)
 export (PACKAGE glog)
-
+if(0)
 get_filename_component (_PREFIX "${CMAKE_INSTALL_PREFIX}" ABSOLUTE)
 
 # Directory containing the find modules relative to the config install
@@ -1036,6 +1036,7 @@ file (INSTALL
 "
   COMPONENT Development
 )
+endif()
 
 install (FILES
   ${glog_BINARY_DIR}/glog-config.cmake
diff --git a/glog-config.cmake.in b/glog-config.cmake.in
index 7d98525..93bc7d9 100644
--- a/glog-config.cmake.in
+++ b/glog-config.cmake.in
@@ -5,7 +5,6 @@ endif (CMAKE_VERSION VERSION_LESS @glog_CMake_VERSION@)
 @PACKAGE_INIT@
 
 include (CMakeFindDependencyMacro)
-include (${CMAKE_CURRENT_LIST_DIR}/glog-modules.cmake)
 
 find_dependency (Threads)