Annotation of embedaddon/spawn-fcgi/CMakeLists.txt, revision 1.1
1.1 ! misho 1: CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR)
! 2:
! 3: cmake_policy(VERSION 2.6.0)
! 4:
! 5: PROJECT(spawn-fcgi)
! 6: SET(PACKAGE_NAME ${CMAKE_PROJECT_NAME})
! 7: SET(PACKAGE_VERSION 1.6.3)
! 8:
! 9: SET(CMAKE_MAN_DIR "share/man" CACHE STRING
! 10: "Install location for man pages (relative to prefix).")
! 11: MARK_AS_ADVANCED(CMAKE_MAN_DIR)
! 12:
! 13: # Set Default build type to RelWithDebInfo
! 14: IF("${CMAKE_BUILD_TYPE}" STREQUAL "")
! 15: 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)
! 16: ENDIF("${CMAKE_BUILD_TYPE}" STREQUAL "")
! 17:
! 18: ADD_SUBDIRECTORY(src)
! 19:
! 20: INSTALL(FILES spawn-fcgi.1 DESTINATION ${CMAKE_MAN_DIR}/man1)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>