mirror of https://github.com/xiph/flac
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:
parent
1ac2a6314b
commit
bab58c374f
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue