From 1b68c14b0ea0dd0d1249528e8fbb22534ab8b678 Mon Sep 17 00:00:00 2001 From: Edoardo Lunati <59790957+Metgraph@users.noreply.github.com> Date: Thu, 8 Dec 2022 18:13:35 +0100 Subject: [PATCH] Fix linux build (#1398) --- exts/embree/CMakeLists.txt | 2 +- exts/openimagedenoise/CMakeLists.txt | 2 +- libs/yocto/yocto_sceneio.cpp | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/exts/embree/CMakeLists.txt b/exts/embree/CMakeLists.txt index e1b53c592..c3c435a8d 100644 --- a/exts/embree/CMakeLists.txt +++ b/exts/embree/CMakeLists.txt @@ -25,7 +25,7 @@ if(MSVC) endif(MSVC) if(UNIX AND NOT APPLE) target_include_directories(embree INTERFACE /usr/local/include) - set_target_properties(embree PROPERTY + set_target_properties(embree PROPERTIES IMPORTED_LINK_INTERFACE_LANGUAGES "CXX" IMPORTED_LOCATION "/usr/local/lib/libembree3.so" INTERFACE_INCLUDE_DIRECTORIES "/usr/local/include") diff --git a/exts/openimagedenoise/CMakeLists.txt b/exts/openimagedenoise/CMakeLists.txt index 1787f1e20..606253878 100644 --- a/exts/openimagedenoise/CMakeLists.txt +++ b/exts/openimagedenoise/CMakeLists.txt @@ -25,7 +25,7 @@ if(MSVC) endif(MSVC) if(UNIX AND NOT APPLE) target_include_directories(openimagedenoise INTERFACE /usr/local/include) - set_target_properties(openimagedenoise PROPERTY + set_target_properties(openimagedenoise PROPERTIES IMPORTED_LINK_INTERFACE_LANGUAGES "CXX" IMPORTED_LOCATION "/usr/local/lib/libOpenImageDenoise.so" INTERFACE_INCLUDE_DIRECTORIES "/usr/local/include") diff --git a/libs/yocto/yocto_sceneio.cpp b/libs/yocto/yocto_sceneio.cpp index 03f6cac0f..95cadc754 100644 --- a/libs/yocto/yocto_sceneio.cpp +++ b/libs/yocto/yocto_sceneio.cpp @@ -46,6 +46,7 @@ #include #include #include +#include #include #include "yocto_color.h"