Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-qt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-qt
Commits
0d5361fc
Commit
0d5361fc
authored
4 years ago
by
Albert Babí Oller
Browse files
Options
Downloads
Patches
Plain Diff
cmake: avoid generating doc if graphviz is not installed
Change-Id: I6fc0e28d5050110c87494e3cb19f7f2deded7ac2
parent
5d460b08
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+4
-3
4 additions, 3 deletions
CMakeLists.txt
with
4 additions
and
3 deletions
CMakeLists.txt
+
4
−
3
View file @
0d5361fc
...
...
@@ -276,9 +276,10 @@ install(
GROUP_EXECUTE
WORLD_EXECUTE
)
# add a target to generate API documentation with Doxygen
# add a target to generate API documentation with Doxygen
and graphviz-dot
find_package
(
Doxygen
)
if
(
DOXYGEN_FOUND
)
find_program
(
dot
"dot"
)
if
(
Doxygen_FOUND AND dot
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/doc/Doxyfile.in
${
CMAKE_CURRENT_SOURCE_DIR
}
/doc/Doxyfile @ONLY
)
add_custom_target
(
doc
COMMAND
${
DOXYGEN_EXECUTABLE
}
${
CMAKE_CURRENT_SOURCE_DIR
}
/doc/Doxyfile
...
...
@@ -290,7 +291,7 @@ if(DOXYGEN_FOUND)
TARGET doc
PRE_BUILD
COMMAND ln -sf
${
CMAKE_CURRENT_SOURCE_DIR
}
/README
${
CMAKE_CURRENT_SOURCE_DIR
}
/doc/README.md
)
endif
(
DOXYGEN_FOUND
)
endif
()
# translations
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment