Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MSK-SW
Low-Level Radio Frequency
Master Oscillator
XFEL
GPSDO
Commits
62075748
Commit
62075748
authored
Aug 26, 2021
by
Jens Georg
Browse files
doc: Set -dNOSAFER environment for ghostscript
This fixes issues when using LaTeX in doxygen
parent
d76ff190
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/enable_doxygen_documentation.cmake
View file @
62075748
...
...
@@ -43,7 +43,7 @@ if(DOXYGEN_FOUND)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake/Doxyfile.in
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile @ONLY
)
add_custom_target
(
doc
${
DOC_DEPENDENCY
}
${
DOXYGEN_EXECUTABLE
}
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
COMMAND
${
CMAKE_COMMAND
}
-E env GS_OPTIONS=-dNOSAFER
${
DOXYGEN_EXECUTABLE
}
${
CMAKE_CURRENT_BINARY_DIR
}
/Doxyfile
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
)
#note the / after ${CMAKE_BINARY_DIR}/doc/. This causes the directory to be renamed to the destination, not copied into
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment