summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-06-23 16:03:31 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:05 -0300
commitfa32db5bfb6247407aa25af0d30b5c939cc8e04d (patch)
tree504bf9154cfecfb3987b82104b3b417ad7152c5c
parentbb81e23761fdff05f2becaa90839ae3384c28fd5 (diff)
Fix cmake files used by other libs to detect ApiExtractor.
Reviewer: Renato Ara├║jo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
-rw-r--r--ApiExtractorConfigVersion.cmake.in (renamed from ApiExtractorVersion.cmake.in)0
-rw-r--r--CMakeLists.txt4
2 files changed, 2 insertions, 2 deletions
diff --git a/ApiExtractorVersion.cmake.in b/ApiExtractorConfigVersion.cmake.in
index a9f7318f..a9f7318f 100644
--- a/ApiExtractorVersion.cmake.in
+++ b/ApiExtractorConfigVersion.cmake.in
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 987c9e75..5cc88c3b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -108,7 +108,7 @@ set_target_properties(apiextractor PROPERTIES VERSION ${apiextractor_VERSION} SO
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/apiextractor.pc.in"
"${CMAKE_CURRENT_BINARY_DIR}/apiextractor.pc" @ONLY)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/ApiExtractorConfig.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/ApiExtractorConfig.cmake" @ONLY)
-configure_file("${CMAKE_CURRENT_SOURCE_DIR}/ApiExtractorVersion.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/ApiExtractorVersion.cmake" @ONLY)
+configure_file("${CMAKE_CURRENT_SOURCE_DIR}/ApiExtractorConfigVersion.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/ApiExtractorConfigVersion.cmake" @ONLY)
# uninstall target
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake" "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" IMMEDIATE @ONLY)
@@ -151,5 +151,5 @@ install(TARGETS apiextractor EXPORT apiextractor
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/apiextractor.pc" DESTINATION "${LIB_INSTALL_DIR}/pkgconfig")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ApiExtractorConfig.cmake"
DESTINATION "${LIB_INSTALL_DIR}/cmake/ApiExtractor-${apiextractor_VERSION}")
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ApiExtractorVersion.cmake"
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ApiExtractorConfigVersion.cmake"
DESTINATION "${LIB_INSTALL_DIR}/cmake/ApiExtractor-${apiextractor_VERSION}")