From 6d39ab49c1d524b11624ced95eca75f35e09e0ec Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Sun, 26 Aug 2012 19:51:49 -0400 Subject: [PATCH] Generate the ImageLoader.h file from cmake after we figure out what image reading libraries are available to us. --- IO/CMakeLists.txt | 7 +++++++ IO/{ImageLoader.h => ImageLoader.h.in} | 0 2 files changed, 7 insertions(+) rename IO/{ImageLoader.h => ImageLoader.h.in} (100%) diff --git a/IO/CMakeLists.txt b/IO/CMakeLists.txt index c460015..e62b223 100644 --- a/IO/CMakeLists.txt +++ b/IO/CMakeLists.txt @@ -8,6 +8,13 @@ SET( HEADERS ImageFile.h ) +CONFIGURE_FILE( + "ImageLoader.h.in" + "ImageLoader.h" +) + +INCLUDE_DIRECTORIES( ${TexC_BINARY_DIR}/IO ) + ADD_LIBRARY(TexCompIO ${SOURCES} ${HEADERS} diff --git a/IO/ImageLoader.h b/IO/ImageLoader.h.in similarity index 100% rename from IO/ImageLoader.h rename to IO/ImageLoader.h.in