diff options
author | Brad King <brad.king@kitware.com> | 2013-11-13 14:59:12 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-11-13 14:59:12 (GMT) |
commit | 558a6f1f920defdfcd7651fba3a85fded84d6a63 (patch) | |
tree | f3688cd6f0f4a73a2b8ca6801a6b284f5f90bf12 /Source | |
parent | 978d796e8dbb437ff9ebf34dadb123a9583c6d9b (diff) | |
parent | 3bade75b02cd4989d0be5efc6547439eade22be9 (diff) | |
download | CMake-558a6f1f920defdfcd7651fba3a85fded84d6a63.zip CMake-558a6f1f920defdfcd7651fba3a85fded84d6a63.tar.gz CMake-558a6f1f920defdfcd7651fba3a85fded84d6a63.tar.bz2 |
Merge topic 'cmake-copyright-year'
3bade75 Help: Parse Copyright.txt instead of using current year
2bbf6bd Copyright.txt: Add test to check year range
3ee67d0 Copyright.txt: Update year range to end in 2013
621ba1f cmake-gui: Parse Copyright.txt instead of duplicating notice
993b685 bootstrap: Parse Copyright.txt instead of duplicating notice
Diffstat (limited to 'Source')
-rw-r--r-- | Source/QtDialog/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt index 88a9fc9..ee0b831 100644 --- a/Source/QtDialog/CMakeLists.txt +++ b/Source/QtDialog/CMakeLists.txt @@ -111,12 +111,15 @@ if(Qt_BIN_DIR) endif() if(APPLE) + file(STRINGS "${CMake_SOURCE_DIR}/Copyright.txt" copyright_line + LIMIT_COUNT 1 REGEX "^Copyright 2000-20[0-9][0-9] Kitware") + set_target_properties(cmake-gui PROPERTIES OUTPUT_NAME ${CMAKE_BUNDLE_NAME} MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in" MACOSX_BUNDLE_SHORT_VERSION_STRING "${CMAKE_BUNDLE_VERSION}" # TBD: MACOSX_BUNDLE_BUNDLE_VERSION "${CMAKE_BUNDLE_VERSION}" - MACOSX_BUNDLE_COPYRIGHT "Copyright 2000-2013 Kitware, Inc." + MACOSX_BUNDLE_COPYRIGHT "${copyright_line}" ) # Create a symlink in the build tree to provide a "cmake-gui" next |