From 4325fae65f367816d2dd4f87093b80904440c986 Mon Sep 17 00:00:00 2001 From: petern Date: Wed, 27 Jan 2010 21:50:16 +0000 Subject: [PATCH] Add installation bits Let cmake build type work git-svn-id: file:///home/vcs/svn/jsweeper/trunk@38 6611ac79-6612-48ef-a1e9-b906f853523e --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f833e2..82469ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,7 +60,7 @@ INCLUDE_DIRECTORIES( ${PCRE_INCLUDE_DIRS} ) -ADD_DEFINITIONS(-g -Wall -Wextra -ansi -pedantic) +ADD_DEFINITIONS(-Wall -Wextra -ansi -pedantic) ADD_EXECUTABLE(jsweeper ${SOURCES}) TARGET_LINK_LIBRARIES(jsweeper @@ -70,3 +70,6 @@ TARGET_LINK_LIBRARIES(jsweeper ${DBUS_LIBRARIES} ${PCRE_LIBRARIES} ) + +INSTALL(PROGRAMS jsweeper DESTINATION bin) +INSTALL(FILES jsweeper.ui DESTINATION share/jsweeper)