From d6291c132054fe56b6b49efc5a488f5df93a5213 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Fri, 13 Mar 2015 14:27:50 +0100 Subject: [PATCH] Do not use absolute path in install instructions of CMake. --- coreapi/help/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/help/CMakeLists.txt b/coreapi/help/CMakeLists.txt index af624006e..fa6915d8f 100644 --- a/coreapi/help/CMakeLists.txt +++ b/coreapi/help/CMakeLists.txt @@ -38,7 +38,7 @@ if(DOXYGEN_FOUND) ) add_custom_target(doc ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/doc/html/index.html") install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/doc/html" "${CMAKE_CURRENT_BINARY_DIR}/doc/xml" - DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/linphone-${LINPHONE_VERSION}") + DESTINATION "share/doc/linphone-${LINPHONE_VERSION}") else() message(WARNING "The dot program is needed to generate the linphone documentation. You can get it from http://www.graphviz.org/.") endif()