mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 08:25:37 +01:00
Restructure IO directory to better match convention set by BPTC Encoder
This commit is contained in:
parent
d13190990e
commit
4e43207fd8
@ -1,11 +1,11 @@
|
||||
|
||||
SET( SOURCES
|
||||
ImageFile.cpp
|
||||
"src/ImageFile.cpp"
|
||||
)
|
||||
|
||||
SET( HEADERS
|
||||
ImageLoader.h
|
||||
ImageFile.h
|
||||
"config/ImageLoader.h.in"
|
||||
"include/ImageFile.h"
|
||||
)
|
||||
|
||||
FIND_PACKAGE( PNG )
|
||||
@ -13,16 +13,17 @@ IF( PNG_FOUND )
|
||||
INCLUDE_DIRECTORIES( ${PNG_INCLUDE_DIR} )
|
||||
TARGET_LINK_LIBRARIES( ${PNG_LIBRARY} )
|
||||
|
||||
SET( SOURCES ${SOURCES} ImageLoaderPNG.cpp )
|
||||
SET( HEADERS ${HEADERS} ImageLoaderPNG.h )
|
||||
SET( SOURCES ${SOURCES} "src/ImageLoaderPNG.cpp" )
|
||||
SET( HEADERS ${HEADERS} "src/ImageLoaderPNG.h" )
|
||||
ENDIF()
|
||||
|
||||
CONFIGURE_FILE(
|
||||
"ImageLoader.h.in"
|
||||
"ImageLoader.h"
|
||||
"config/ImageLoader.h.in"
|
||||
"include/ImageLoader.h"
|
||||
)
|
||||
|
||||
INCLUDE_DIRECTORIES( ${TexC_BINARY_DIR}/IO )
|
||||
INCLUDE_DIRECTORIES( ${TexC_BINARY_DIR}/IO/include )
|
||||
INCLUDE_DIRECTORIES( ${TexC_SOURCE_DIR}/IO/include )
|
||||
|
||||
ADD_LIBRARY(TexCompIO
|
||||
${SOURCES}
|
||||
|
Loading…
Reference in New Issue
Block a user