Add back check if libjpeg-turbo is available

This commit is contained in:
Georg Hagen
2024-05-23 21:21:03 +02:00
parent d73f308f14
commit 7fa25267d5
2 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ jobs:
cache: true
- name: Install Dev Packages
if: matrix.config.os == 'ubuntu-latest'
run: sudo apt update && sudo apt install -y extra-cmake-modules libwayland-dev libxkbcommon-dev xorg-dev libarchive-dev libturbojpeg0-dev libassimp-dev ninja-build
run: sudo apt update && sudo apt install -y extra-cmake-modules libwayland-dev libxkbcommon-dev xorg-dev libarchive-dev libassimp-dev ninja-build
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build

View File

@@ -16,10 +16,10 @@
#include "Image/YuvUtils.hpp"
#include <fstream>
#include <iostream>
//#if __has_include("turbojpeg.h")
#if __has_include("turbojpeg.h")
#include <turbojpeg.h>
#define TURBO_JPEG
//#endif
#endif
namespace OpenVulkano::AR
{