diff --git a/SConstruct b/SConstruct index de75cb3..04d31ad 100644 --- a/SConstruct +++ b/SConstruct @@ -14,9 +14,14 @@ cpppath = [ cereal_dir, messaging_dir, '/usr/lib/include', + '/opt/homebrew/include', sysconfig.get_paths()['include'], ] +libpath = [ + '/opt/homebrew/lib', +] + AddOption('--test', action='store_true', help='build test files') @@ -45,6 +50,7 @@ env = Environment( CFLAGS="-std=gnu11", CXXFLAGS="-std=c++1z", CPPPATH=cpppath, + LIBPATH=libpath, CYTHONCFILESUFFIX=".cpp", tools=["default", "cython"] )