Generate the ImageLoader.h file from cmake after we figure out what image reading libraries are available to us.

This commit is contained in:
Pavel Krajcevski 2012-08-26 19:51:49 -04:00
parent abb5ca2a44
commit 6d39ab49c1
2 changed files with 7 additions and 0 deletions

View File

@ -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}