From 22625a14074110fabd6c9256d3416f740a296425 Mon Sep 17 00:00:00 2001 From: nyanpasu Date: Wed, 16 Jul 2014 01:03:09 +0800 Subject: [PATCH] Add install to Cmake (#21) --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7fbcd8d..1d95285 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,3 +71,5 @@ TARGET_LINK_LIBRARIES ( ${PROJECT_NAME} ${LIBGTKMM_LIBRARIES} ${LIBGLIBMM_LIBRARIES} ) + +INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${PREFIX}/bin/ PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE)