Add back check if libjpeg-turbo is available
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user