Commit d46e0a91 authored by louiz’'s avatar louiz’

Mark some more cmake variables as advanced

parent 0d1e0629
......@@ -85,14 +85,17 @@ IF(NOT GCOV_PATH)
set(ERROR_MSG "gcov not found")
return()
ENDIF()
MARK_AS_ADVANCED(GCOV_PATH)
IF(NOT LCOV_PATH)
set(ERROR_MSG "lcov not found")
return()
ENDIF()
MARK_AS_ADVANCED(LCOV_PATH)
IF(NOT GENHTML_PATH)
set(ERROR_MSG "genhtml not found")
return()
ENDIF()
MARK_AS_ADVANCED(GENHTML_PATH)
IF(NOT CMAKE_COMPILER_IS_GNUCXX)
set(ERROR_MSG "Compiler is not gcc")
return()
......@@ -188,6 +191,7 @@ FUNCTION(SETUP_TARGET_FOR_COVERAGE_COBERTURA _targetname _testrunner _outputname
IF(NOT GCOVR_PATH)
MESSAGE(FATAL_ERROR "gcovr not found! Aborting...")
ENDIF() # NOT GCOVR_PATH
MARK_AS_ADVANCED(GCOVR_PATH)
ADD_CUSTOM_TARGET(${_targetname}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment