aboutsummaryrefslogtreecommitdiff
path: root/modules/ECMQtFramework.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-08-28 21:59:42 +0200
committerStephen Kelly <steveire@gmail.com>2011-08-28 22:00:34 +0200
commitf0937a4fe5db2ab7f566110876d2984779f33a3e (patch)
tree4f54174eb43e367e686773faed4d81d92491a60a /modules/ECMQtFramework.cmake
parent999be88c8a618e85d9f715a941a3a7429ccce72d (diff)
downloadextra-cmake-modules-f0937a4fe5db2ab7f566110876d2984779f33a3e.tar.gz
extra-cmake-modules-f0937a4fe5db2ab7f566110876d2984779f33a3e.tar.bz2
Remove module which is replaced by a cmake 2.8.6 feature.
Diffstat (limited to 'modules/ECMQtFramework.cmake')
-rw-r--r--modules/ECMQtFramework.cmake9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/ECMQtFramework.cmake b/modules/ECMQtFramework.cmake
index 2763261a..8a5c4575 100644
--- a/modules/ECMQtFramework.cmake
+++ b/modules/ECMQtFramework.cmake
@@ -86,10 +86,11 @@ configure_file(
@ONLY
)
-configure_file(
- "${EXTRA_CMAKE_MODULES_MODULE_PATH}/ECMConfigVersion.cmake.in"
- "${CMAKE_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake"
- @ONLY
+include (WriteBasicConfigVersionFile)
+
+write_basic_config_version_file("${CMAKE_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake"
+ VERSION ${ECM_VERSION_MAJOR}.${ECM_VERSION_MINOR}.${ECM_VERSION_PATCH}
+ COMPATIBILITY AnyNewerVersion
)
configure_file(