Skip to content

Commit

Permalink
libibl doesn't need to depend on libimage
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelflinger committed Mar 13, 2019
1 parent 54d292b commit 13d3ade
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion libs/ibl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ include_directories(${PUBLIC_HDR_DIR})
add_library(${TARGET} ${PUBLIC_HDRS} ${SRCS})
target_include_directories(${TARGET} PUBLIC ${PUBLIC_HDR_DIR})

target_link_libraries(${TARGET} math utils image)
target_link_libraries(${TARGET} math utils)

# ==================================================================================================
# Compile options and optimizations
Expand Down
2 changes: 0 additions & 2 deletions libs/ibl/include/ibl/Image.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
#ifndef IBL_IMAGE_H
#define IBL_IMAGE_H

#include <image/ColorTransform.h>

#include <math/scalar.h>
#include <math/vec3.h>
#include <math/vec4.h>
Expand Down
1 change: 0 additions & 1 deletion libs/ibl/src/CubemapIBL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include <vector>

using namespace filament::math;
using namespace image;
using namespace utils;

namespace filament {
Expand Down
1 change: 0 additions & 1 deletion libs/ibl/src/CubemapUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <math.h>

using namespace filament::math;
using namespace image;
using namespace utils;

namespace filament {
Expand Down
3 changes: 2 additions & 1 deletion tools/cmgen/src/cmgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <imageio/ImageEncoder.h>

#include <image/KtxBundle.h>
#include <image/ColorTransform.h>

#include <utils/Path.h>

Expand Down Expand Up @@ -69,7 +70,7 @@ static utils::Path g_extract_dir;

static size_t g_output_size = 0;

bool g_quiet = false; // needed outside of this file
static bool g_quiet = false;
static bool g_debug = false;

static size_t g_sh_compute = 0;
Expand Down

0 comments on commit 13d3ade

Please sign in to comment.