Merge branch 'master' of github.com:mpusz/units

This commit is contained in:
Mateusz Pusz
2021-06-08 18:00:57 +02:00

View File

@ -49,7 +49,7 @@ function(add_documentation targetName)
if(NOT _args_DOXYFILE_TEMPLATE) if(NOT _args_DOXYFILE_TEMPLATE)
set(_args_DOXYFILE_TEMPLATE Doxyfile.in) set(_args_DOXYFILE_TEMPLATE Doxyfile.in)
endif() endif()
file(REAL_PATH ${_args_DOXYFILE_TEMPLATE} _doxyfileIn) get_filename_component(_doxyfileIn ${_args_DOXYFILE_TEMPLATE} REALPATH)
if(NOT EXISTS ${_doxyfileIn}) if(NOT EXISTS ${_doxyfileIn})
message(FATAL_ERROR "'${_args_DOXYFILE_TEMPLATE}' does not exist") message(FATAL_ERROR "'${_args_DOXYFILE_TEMPLATE}' does not exist")
endif() endif()