Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: fix doxygen-html build output directory #848

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

mkrupcale
Copy link
Contributor

@mkrupcale mkrupcale commented Jun 15, 2024

Relative directories for the CMake install DIRECTORY command are interpreted with respect to the current source directory [1], whereas the doxygen-html output is generated in the current binary directory. So use the CMAKE_CURRENT_BINARY_DIR variable to specify the correct doxygen-html build output directory for installation. Also add a trailing slash to avoid appending the doxygen-html directory to the destination directory.

  • doc/CMakeLists.txt: fix doxygen-html build output directory

[1] https://cmake.org/cmake/help/latest/command/install.html#directory

Relative directories for the CMake install DIRECTORY command are interpreted
with respect to the current source directory [1], whereas the doxygen-html
output is generated in the current binary directory. So use the
CMAKE_CURRENT_BINARY_DIR variable to specify the correct doxygen-html build
output directory for installation. Also add a trailing slash to avoid appending
the doxygen-html directory to the destination directory.

 * doc/CMakeLists.txt: fix doxygen-html build output directory

[1] https://cmake.org/cmake/help/latest/command/install.html#directory
@jtv
Copy link
Owner

jtv commented Jun 15, 2024

Wonderful, thanks @mkrupcale !

@jtv jtv merged commit 5759ebf into jtv:master Jun 15, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants