From abff10a08e9f6a60c461f03e338e517a5decc9ff Mon Sep 17 00:00:00 2001 From: Harry van Haaren Date: Sun, 23 Feb 2014 17:26:43 +0000 Subject: [PATCH] -Added install target (defaults to /usr/local), fixes #74. --- CMakeLists.txt | 4 ++-- src/CMakeLists.txt | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 372eb97..e717c6e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,8 +3,8 @@ cmake_minimum_required (VERSION 2.6) project (LUPPP) -set (Tutorial_VERSION_MAJOR 1) -set (Tutorial_VERSION_MINOR 0) +set (LUPPP_VERSION_MAJOR 1) +set (LUPPP_VERSION_MINOR 0) option(BUILD_TESTS "Build test version" OFF) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b02c98f..5393333 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -61,3 +61,7 @@ target_link_libraries( luppp ${SAMPLERATE_LIBRARIES} ) IF(BUILD_TESTS) target_link_libraries(luppp gcov) ENDIF(BUILD_TESTS) + +# add the install targets +install (TARGETS luppp DESTINATION bin) +