You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
693 B

  1. CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR)
  2. cmake_policy(VERSION 2.6.0)
  3. PROJECT(spawn-fcgi)
  4. SET(PACKAGE_NAME ${CMAKE_PROJECT_NAME})
  5. SET(PACKAGE_VERSION 1.6.5)
  6. SET(CMAKE_MAN_DIR "share/man" CACHE STRING
  7. "Install location for man pages (relative to prefix).")
  8. MARK_AS_ADVANCED(CMAKE_MAN_DIR)
  9. # Set Default build type to RelWithDebInfo
  10. IF("${CMAKE_BUILD_TYPE}" STREQUAL "")
  11. 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)
  12. ENDIF("${CMAKE_BUILD_TYPE}" STREQUAL "")
  13. ADD_SUBDIRECTORY(src)
  14. INSTALL(FILES spawn-fcgi.1 DESTINATION ${CMAKE_MAN_DIR}/man1)