diff options
author | Martijn van Beurden <mvanb1@gmail.com> | 2022-09-22 06:46:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 06:46:03 +0200 |
commit | a076395de07ba9299198ca60d565b880b71fd89b (patch) | |
tree | 188efbf67589d0bc9350c4684aaf927f82440abd /CMakeLists.txt | |
parent | 8e50d89a4044c9b6b07bd875a9edfcdd23846c72 (diff) | |
download | flac-a076395de07ba9299198ca60d565b880b71fd89b.tar.gz |
[CMake] Create dir for pandoc generation
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 239c7a7b..cdfcfecd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -265,6 +265,7 @@ install(FILES ${FLAC++_HEADERS} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/FLAC++" if(INSTALL_MANPAGES) find_program (HAVE_PANDOC pandoc) if(HAVE_PANDOC) + file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/man") add_custom_command( OUTPUT man/flac.1 COMMAND pandoc --standalone --to man "${CMAKE_SOURCE_DIR}/man/flac.md" > man/flac.1 |