From b94b106f3de718893e0c1ce7a1c9a081c189aefb Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 24 Dec 2015 14:20:39 +0100 Subject: Add installation rules to `CMakeLists.txt` --- CMakeLists.txt | 14 ++++++++++++++ change | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c137942..f61200c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,3 +22,17 @@ target_link_libraries( boost_system boost_filesystem ) + +install( + PROGRAMS + change + DESTINATION + bin +) + +install( + TARGETS + ChangeLog + LIBRARY DESTINATION + lib +) diff --git a/change b/change index 04cae2f..93e1077 100755 --- a/change +++ b/change @@ -1,6 +1,6 @@ #!/usr/bin/bash -export LD_PRELOAD=/usr/lib/libChangeLog.so +export LD_PRELOAD=libChangeLog.so export CHANGE_LOG_TARGET="/tmp/$(basename $0).$$.tmp" eval "$1" -- cgit v1.2.3