From f3480029bb76b3f16abe66e9d8808b3e155eba3d Mon Sep 17 00:00:00 2001 From: Paolo Stivanin Date: Tue, 3 Mar 2020 10:40:23 +0100 Subject: [PATCH] Fix CMakeLists.txt * fix variables naming * use consistent destination dir for docs --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c41758ab..177fb8da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ set(ORTP_MINOR_VERSION ${PROJECT_VERSION_MINOR}) set(ORTP_MICRO_VERSION ${PROJECT_VERSION_PATCH}) set(ORTP_VERSION ${PROJECT_VERSION}) set(ORTP_SO_VERSION "14") # incremented on September 17, 2019 -set(ORTP_DOC_VERSION "${ORTP_VERSION_MAJOR}.${ORTP_VERSION_MINOR}") +set(ORTP_DOC_VERSION "${ORTP_MAJOR_VERSION}.${ORTP_MINOR_VERSION}") option(ENABLE_SHARED "Build shared library." YES) @@ -182,7 +182,7 @@ if(ENABLE_DOC) ) add_custom_target(ortp-html-doc ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/doc/html/index.html") install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/doc/html" - DESTINATION "${CMAKE_INSTALL_DATADIR}/doc/ortp-${ORTP_VERSION}") + DESTINATION "${CMAKE_INSTALL_DATADIR}/doc/ortp-${ORTP_DOC_VERSION}") endif() endif()