Fix building/installing docs with CMake

Details:
 - During the installation of the package with CMake, it stops
   (via fail) when doc files should be copied. It was caused by
   changing current binary to current source CMake directory.
This commit is contained in:
TGMarkiewicz 2021-05-26 18:37:59 +02:00 committed by Ralph Giles
parent 1ac2a6314b
commit bab58c374f
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ else()
"${PROJECT_SOURCE_DIR}/include/FLAC"
"${PROJECT_SOURCE_DIR}/include/FLAC++")
install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/html/"
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/html/"
DESTINATION "${CMAKE_INSTALL_DOCDIR}/html/api")
endif()