diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 7288b0d..2d31e48 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -46,6 +46,9 @@ jobs: - name: Install prerequisites shell: bash -l {0} run: | + ruby - e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2 > /dev/null + brew reinstall --build-from-source cmake + ln -s /usr/local/Cellar/cmake/3.27.1 /usr/local/Cellar/cmake/3.26.4 brew install create-dmg if [ ! -d "./opencv" ]; then ruby - e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2 > /dev/null diff --git a/src/YUVviewer.cpp b/src/YUVviewer.cpp index 7baa115..c53583f 100644 --- a/src/YUVviewer.cpp +++ b/src/YUVviewer.cpp @@ -17,6 +17,7 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see . */ +#include #include #include #include