summarylogtreecommitdiffstats
path: root/use-correct-path-for-cmake-files.patch
blob: c4647694b1545015a9ee6709b54c330bd9538fa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/CMakeLists.txt	2020-03-28 14:38:50.126178670 +0100
+++ b/CMakeLists.txt	2020-03-28 14:39:30.323094276 +0100
@@ -167,11 +167,7 @@
     export( TARGETS tz NAMESPACE date:: APPEND FILE dateTargets.cmake )
 endif( )
 
-if( WIN32 AND NOT CYGWIN)
-    set( CONFIG_LOC CMake )
-else( )
-    set( CONFIG_LOC "${CMAKE_INSTALL_LIBDIR}/cmake/date" )
-endif( )
+set( CONFIG_LOC "${CMAKE_INSTALL_LIBDIR}/cmake/date" )
 install( EXPORT dateConfig
   FILE dateTargets.cmake
   NAMESPACE date::