[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.160 1.161

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Sep 28 11:36:56 EDT 2009


Update of /cvsroot/CMake/CMake
In directory public:/mounts/ram/cvs-serv29696

Modified Files:
	CMakeLists.txt 
Log Message:
Install KWSys Copyright.txt as documentation

This commit adds KWSys configuration option KWSYS_INSTALL_DOC_DIR to
specify the directory for installation of documentation.  We use it to
put the KWSys Copyright.txt file at the location

  ${KWSYS_INSTALL_DOC_DIR}/${KWSYS_NAMESPACE}/Copyright.txt

in the project installation tree.  This helps containing projects meet
the license requirement to distribute the copyright and license with
binary forms.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/CMakeLists.txt,v
retrieving revision 1.160
retrieving revision 1.161
diff -C 2 -d -r1.160 -r1.161
*** CMakeLists.txt	28 Sep 2009 15:35:52 -0000	1.160
--- CMakeLists.txt	28 Sep 2009 15:36:53 -0000	1.161
***************
*** 171,174 ****
--- 171,175 ----
    SET(KWSYS_USE_CommandLineArguments 1)
    SET(KWSYS_HEADER_ROOT ${CMake_BINARY_DIR}/Source)
+   SET(KWSYS_INSTALL_DOC_DIR "${CMake_DOC_DEST}")
    SUBDIRS(Source/kwsys)
    
***************
*** 341,344 ****
--- 342,346 ----
  MARK_AS_ADVANCED(CMAKE_DATA_DIR CMAKE_DOC_DIR CMAKE_MAN_DIR)
  STRING(REGEX REPLACE "^/" "" CMake_DATA_DEST "${CMAKE_DATA_DIR}")
+ STRING(REGEX REPLACE "^/" "" CMake_DOC_DEST "${CMAKE_DOC_DIR}")
  
  # include special compile flags for some compilers



More information about the Cmake-commits mailing list