build: use consistent case for falco options

Signed-off-by: Chris Goller <goller@gmail.com>
This commit is contained in:
Chris Goller 2019-12-09 22:17:46 -08:00 committed by Leo Di Donato
parent e31bfeb8b2
commit d66125278a

View File

@ -18,7 +18,7 @@ cmake_minimum_required(VERSION 3.3.2)
project(falco)
option(FALCO_Coverage "Build test suite with coverage information" OFF)
option(FALCO_COVERAGE "Build test suite with coverage information" OFF)
if(NOT SYSDIG_DIR)
get_filename_component(SYSDIG_DIR "${PROJECT_SOURCE_DIR}/../sysdig" REALPATH)
@ -635,7 +635,7 @@ endif()
install(FILES falco.yaml
DESTINATION "${FALCO_ETC_DIR}")
if(FALCO_Coverage)
if(FALCO_COVERAGE)
if (NOT (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")))
message(FATAL_ERROR "FALCO_Coverage requires GCC or Clang.")
endif()