summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTGMarkiewicz <tomasz.g.markiewicz@gmail.com>2021-05-26 18:37:59 +0200
committerRalph Giles <giles@thaumas.net>2021-06-24 15:59:31 -0700
commitbab58c374ff069244d29e0022885324d96cfd5ee (patch)
tree0018c1b76e940d2a3b1ff9c20fe38a05d585144c
parent1ac2a6314b8edbbc454b56317268e797602071f4 (diff)
downloadflac-bab58c374ff069244d29e0022885324d96cfd5ee.tar.gz
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.
-rw-r--r--doc/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index e0e33913..1f001707 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -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()