diff options
author | Stephen Kelly <steveire@gmail.com> | 2011-08-27 10:18:14 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2011-08-27 10:18:14 +0200 |
commit | 999be88c8a618e85d9f715a941a3a7429ccce72d (patch) | |
tree | 3a6ddab63efef93d8aced4675dbef98c1cf4e663 /modules/ECMConfig.cmake.in | |
parent | df20f75b02a2bc3c4138a966ccefef4b004f8262 (diff) | |
download | extra-cmake-modules-999be88c8a618e85d9f715a941a3a7429ccce72d.tar.gz extra-cmake-modules-999be88c8a618e85d9f715a941a3a7429ccce72d.tar.bz2 |
Add some files for Qt based frameworks to use.
Diffstat (limited to 'modules/ECMConfig.cmake.in')
-rw-r--r-- | modules/ECMConfig.cmake.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/ECMConfig.cmake.in b/modules/ECMConfig.cmake.in new file mode 100644 index 00000000..8b001e1f --- /dev/null +++ b/modules/ECMConfig.cmake.in @@ -0,0 +1,18 @@ +# Any changes in this file will be overwritten by CMake. + +get_filename_component(myDir ${CMAKE_CURRENT_LIST_FILE} PATH) # get the directory where I myself am +get_filename_component(rootDir ${myDir}/@relInstallDir@ ABSOLUTE) # get the chosen install prefix + +set(@PROJECT_NAME@_VERSION_MAJOR "@ECM_VERSION_MAJOR@") +set(@PROJECT_NAME@_VERSION_MINOR "@ECM_VERSION_MINOR@") +set(@PROJECT_NAME@_VERSION_PATCH "@ECM_VERSION_PATCH@") + +set(@PROJECT_NAME@_INSTALL_PREFIX "${rootDir}") +set(@PROJECT_NAME@_INCLUDE_DIR "${rootDir}/@INCLUDE_INSTALL_DIR@") +set(@PROJECT_NAME@_LIBRARY_DIR "${rootDir}/@LIB_INSTALL_DIR@") + +set(@PROJECT_NAME@_LIBRARY @PROJECT_NAME@) + +set(@PROJECT_NAME@_USE_FILE "${myDir}/@PROJECT_NAME@Use.cmake") + +include(${myDir}/@PROJECT_NAME@Targets.cmake) |