aboutsummarylogtreecommitdiffstats
path: root/10.patch
blob: 8d4961602bc17fce58499fcdc9f0afab7e04e4ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 336400efc8114b584b7363a59b51ee935b414e28 Mon Sep 17 00:00:00 2001
From: Benjamin Frank <ben+github@pipsfrank.de>
Date: Tue, 7 Jul 2015 20:53:09 +0200
Subject: [PATCH] Try to fix cmake.

Make paths relative so cmake works with CMAKE_INSTALL_PREFIX.
---
 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e4c9a29..2b63bbc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,5 +28,5 @@ include_directories(${SQLITE3_INCLUDE_DIR})
 # Link the executable
 target_link_libraries(muttvcardsearch ${CURL_LIBRARY} ${SQLITE3_LIBRARIES})
 
-install (TARGETS muttvcardsearch DESTINATION "/usr/bin")
-
+install (TARGETS muttvcardsearch DESTINATION "bin/")
+install (FILES manual/muttvcardsearch.man DESTINATION "share/man/man8/" RENAME muttvcardsearch.8)