aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2010-05-07 22:50:48 +0200
committerStefan Bühler <stbuehler@web.de>2010-05-07 22:50:48 +0200
commitadaf8af1ff273c61f84de7d51960165676d6eaaf (patch)
treee17dc5874cb009349444fe48b0bcc27eb86a9ad4 /CMakeLists.txt
parentb094a9ad168cf3a4eb99f0a73d9b3d720ca93652 (diff)
downloadfcgi-cgi-adaf8af1ff273c61f84de7d51960165676d6eaaf.tar.gz
fcgi-cgi-adaf8af1ff273c61f84de7d51960165676d6eaaf.zip
Add option handling, bump version number to 0.1.5, add man-pagev0.1.5
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d3f4f3a..08e15ee 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,7 +22,7 @@ MACRO(ADD_TARGET_PROPERTIES _target _name _properties)
ENDMACRO(ADD_TARGET_PROPERTIES)
PROJECT(fcgi-cgi)
-SET(PACKAGE_VERSION 0.1.0)
+SET(PACKAGE_VERSION 0.1.5)
IF("${CMAKE_BUILD_TYPE}" STREQUAL "")
SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel." FORCE)
ENDIF("${CMAKE_BUILD_TYPE}" STREQUAL "")
@@ -71,3 +71,11 @@ ADD_TARGET_PROPERTIES(fcgi-cgi LINK_FLAGS "${GLIB2_LDFLAGS}")
ADD_TARGET_PROPERTIES(fcgi-cgi COMPILE_FLAGS "${GLIB2_CFLAGS_OTHER}")
INSTALL(TARGETS fcgi-cgi DESTINATION bin)
+
+# man page
+
+SET(CMAKE_MAN_DIR "share/man" CACHE STRING
+ "Install location for man pages (relative to prefix).")
+MARK_AS_ADVANCED(CMAKE_MAN_DIR)
+
+INSTALL(FILES fcgi-cgi.1 DESTINATION ${CMAKE_MAN_DIR}/man1)