Has anything changed with the osquery build? I was...
# general
z
Has anything changed with the osquery build? I was able to build successfully using the instructions a couple weeks ago, but now I'm getting an error:
Copy code
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12 -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at process/CMakeLists.txt:31 (add_osquery_library):
  Unknown CMake command "add_osquery_library".
Call Stack (most recent call first):
  process/CMakeLists.txt:9 (generateOsqueryProcess)
  process/CMakeLists.txt:106 (osqueryProcessMain)


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.23)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!