mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-28 10:51:24 +00:00
build: use consistent case for falco options
Signed-off-by: Chris Goller <goller@gmail.com>
This commit is contained in:
parent
e31bfeb8b2
commit
d66125278a
@ -18,7 +18,7 @@ cmake_minimum_required(VERSION 3.3.2)
|
|||||||
|
|
||||||
project(falco)
|
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)
|
if(NOT SYSDIG_DIR)
|
||||||
get_filename_component(SYSDIG_DIR "${PROJECT_SOURCE_DIR}/../sysdig" REALPATH)
|
get_filename_component(SYSDIG_DIR "${PROJECT_SOURCE_DIR}/../sysdig" REALPATH)
|
||||||
@ -635,7 +635,7 @@ endif()
|
|||||||
install(FILES falco.yaml
|
install(FILES falco.yaml
|
||||||
DESTINATION "${FALCO_ETC_DIR}")
|
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")))
|
if (NOT (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")))
|
||||||
message(FATAL_ERROR "FALCO_Coverage requires GCC or Clang.")
|
message(FATAL_ERROR "FALCO_Coverage requires GCC or Clang.")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user