Add include path to macOS cmake

This commit is contained in:
badaix 2020-07-30 08:40:20 +02:00
parent 4c8bead631
commit 1528a0fe81
3 changed files with 4 additions and 4 deletions

View file

@ -21,6 +21,6 @@ jobs:
if: steps.cache-boost.outputs.cache-hit != 'true'
run: wget https://dl.bintray.com/boostorg/release/1.73.0/source/boost_1_73_0.tar.bz2 && tar xjf boost_1_73_0.tar.bz2
- name: cmake build
run: cmake -S . -B build -DBOOST_ROOT=boost_1_73_0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="$CXXFLAGS -Werror -Wall -Wextra -pedantic -Wno-unused-function"
run: cmake -S . -B build -DBOOST_ROOT=boost_1_73_0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="$CXXFLAGS -Werror -Wall -Wextra -pedantic -Wno-unused-function -I/usr/local/include"
- name: cmake make
run: cmake --build build --parallel 3 --verbose
run: cmake --build build --parallel 3

View file

@ -19,7 +19,7 @@
#pragma once
#include "decoder/decoder.hpp"
#include <opus.h>
#include <opus/opus.h>
namespace decoder
{

View file

@ -19,7 +19,7 @@
#pragma once
#include "encoder.hpp"
#include <opus.h>
#include <opus/opus.h>
namespace encoder