From c1353d49402e79fd5a2d0006655004315be07752 Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Mon, 23 Nov 2009 14:28:48 -0200 Subject: Install FindApiExtractor.cmake in the correct directory when using cmake 2.8. Reviewed by Luciano Wolf --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 7274d9627..ff1fd39d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -115,4 +115,4 @@ install(TARGETS apiextractor LIBRARY DESTINATION ${LIB_INSTALL_DIR} RUNTIME DESTINATION bin) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/apiextractor.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/FindApiExtractor.cmake - DESTINATION share/cmake-2.6/Modules) + DESTINATION "share/cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}/Modules") -- cgit v1.2.3