diff options
author | Brad King <brad.king@kitware.com> | 2003-02-14 02:57:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-02-14 02:57:05 (GMT) |
commit | 1fe42129d43d659f33ed72e63c26e7c9f8cf64d9 (patch) | |
tree | 14e46cb1e8dbb31338cf4fa0ed6f937a218ccb9c /Source/WXDialog | |
parent | 170fe935d2cdcbfd02e4385a3ca5abf3bf4b4192 (diff) | |
download | CMake-1fe42129d43d659f33ed72e63c26e7c9f8cf64d9.zip CMake-1fe42129d43d659f33ed72e63c26e7c9f8cf64d9.tar.gz CMake-1fe42129d43d659f33ed72e63c26e7c9f8cf64d9.tar.bz2 |
ENH: Centralized setting of CMake version number to top-level CMake listfile.
Diffstat (limited to 'Source/WXDialog')
-rw-r--r-- | Source/WXDialog/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WXDialog/CMakeLists.txt b/Source/WXDialog/CMakeLists.txt index 2438e16..ada99de 100644 --- a/Source/WXDialog/CMakeLists.txt +++ b/Source/WXDialog/CMakeLists.txt @@ -29,12 +29,12 @@ IF ( CMAKE_WX_CAN_COMPILE ) IF(APPLE) SET(APPLE_GUI_EXECUTABLE wxCMakeSetup) - SET(APPLE_GUI_INFO_STRING "CMake version 1.7.0, (c) 2003 Kitware Inc.") + SET(APPLE_GUI_INFO_STRING "CMake version ${CMake_VERSION_MAJOR}, (c) 2003 Kitware Inc.") SET(APPLE_GUI_IDENTIFIER "com.kitware.wxCMakeSetup") - SET(APPLE_GUI_LONG_VERSION_STRING "1.7.0, (c) 2003 Kitware Inc.") + SET(APPLE_GUI_LONG_VERSION_STRING "${CMake_VERSION_MAJOR}, (c) 2003 Kitware Inc.") SET(APPLE_GUI_BUNDLE_NAME "CMake") - SET(APPLE_GUI_SHORT_VERSION_STRING "1.7.0") - SET(APPLE_GUI_BUNDLE_VERSION "1.7.0") + SET(APPLE_GUI_SHORT_VERSION_STRING "${CMake_VERSION_MAJOR}") + SET(APPLE_GUI_BUNDLE_VERSION "${CMake_VERSION_MAJOR}") SET(APPLE_GUI_ICON "CMakeIcon.icns") SET(APPLE_GUI_COPYRIGHT "Copyright 2002 Kitware Inc.") CONFIGURE_FILE(${CMake_SOURCE_DIR}/Templates/AppleInfo.plist |