From 4da1fa391e81c657e5ff8fdb98a7e04698a6c257 Mon Sep 17 00:00:00 2001 From: Trent Houliston Date: Tue, 24 Feb 2015 17:31:30 +1100 Subject: [PATCH] Add an install command to the cmake file (to allow make install) --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9be0ff46..105c98f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -160,3 +160,7 @@ if (EXISTS .gitignore) set(CPACK_RESOURCE_FILE_README ${FORMAT_SOURCE_DIR}/README.rst) include(CPack) endif () + +# Install our targets +install(TARGETS format DESTINATION lib) +install(FILES format.h DESTINATION include)