diff options
author | Adrian Kummerlaender | 2015-12-24 14:20:39 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2015-12-24 14:20:39 +0100 |
commit | b94b106f3de718893e0c1ce7a1c9a081c189aefb (patch) | |
tree | 97b7480661480784036bc43eb991db851ab4152f | |
parent | a8db66ab7c34199222c520e6cad63d8de3d04190 (diff) | |
download | change-b94b106f3de718893e0c1ce7a1c9a081c189aefb.tar change-b94b106f3de718893e0c1ce7a1c9a081c189aefb.tar.gz change-b94b106f3de718893e0c1ce7a1c9a081c189aefb.tar.bz2 change-b94b106f3de718893e0c1ce7a1c9a081c189aefb.tar.lz change-b94b106f3de718893e0c1ce7a1c9a081c189aefb.tar.xz change-b94b106f3de718893e0c1ce7a1c9a081c189aefb.tar.zst change-b94b106f3de718893e0c1ce7a1c9a081c189aefb.zip |
Add installation rules to `CMakeLists.txt`
-rw-r--r-- | CMakeLists.txt | 14 | ||||
-rwxr-xr-x | change | 2 |
2 files changed, 15 insertions, 1 deletions
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 +) @@ -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" |