diff --git a/CMakeLists.txt b/CMakeLists.txt index d7265486..989254fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -392,6 +392,8 @@ endif() install(FILES falco.yaml DESTINATION "${FALCO_ETC_DIR}") +add_subdirectory(rules) + if(CMAKE_SYSTEM_NAME MATCHES "Linux") add_subdirectory("${SYSDIG_DIR}/driver" "${PROJECT_BINARY_DIR}/driver") endif() diff --git a/userspace/engine/CMakeLists.txt b/userspace/engine/CMakeLists.txt index 2f6a0c31..8192aaac 100644 --- a/userspace/engine/CMakeLists.txt +++ b/userspace/engine/CMakeLists.txt @@ -27,5 +27,3 @@ install(DIRECTORY lua DESTINATION "${FALCO_SHARE_DIR}" FILES_MATCHING PATTERN *.lua) endif() - -add_subdirectory("${PROJECT_SOURCE_DIR}/../falco/rules" "${PROJECT_BINARY_DIR}/rules")