mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-14 14:00:21 +00:00
Move rules cmakefiles from engine to falco itself
The rules CMakeLists.txt, which controls the installation of the falco rules files, was in the engine CMakeLists.txt, which meant that programs that included the engine would also include rules files. This may not always be desired, so move the rules CMakeLists.txt to the main falco CMakeLists.txt instead.
This commit is contained in:
@@ -392,6 +392,8 @@ endif()
|
|||||||
install(FILES falco.yaml
|
install(FILES falco.yaml
|
||||||
DESTINATION "${FALCO_ETC_DIR}")
|
DESTINATION "${FALCO_ETC_DIR}")
|
||||||
|
|
||||||
|
add_subdirectory(rules)
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||||
add_subdirectory("${SYSDIG_DIR}/driver" "${PROJECT_BINARY_DIR}/driver")
|
add_subdirectory("${SYSDIG_DIR}/driver" "${PROJECT_BINARY_DIR}/driver")
|
||||||
endif()
|
endif()
|
||||||
|
@@ -27,5 +27,3 @@ install(DIRECTORY lua
|
|||||||
DESTINATION "${FALCO_SHARE_DIR}"
|
DESTINATION "${FALCO_SHARE_DIR}"
|
||||||
FILES_MATCHING PATTERN *.lua)
|
FILES_MATCHING PATTERN *.lua)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory("${PROJECT_SOURCE_DIR}/../falco/rules" "${PROJECT_BINARY_DIR}/rules")
|
|
||||||
|
Reference in New Issue
Block a user