mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-08 05:55:35 +00:00
Remove warning from cmake process
This commit is contained in:
parent
4e43207fd8
commit
5bebdc3b07
|
@ -11,7 +11,7 @@ SET( HEADERS
|
||||||
FIND_PACKAGE( PNG )
|
FIND_PACKAGE( PNG )
|
||||||
IF( PNG_FOUND )
|
IF( PNG_FOUND )
|
||||||
INCLUDE_DIRECTORIES( ${PNG_INCLUDE_DIR} )
|
INCLUDE_DIRECTORIES( ${PNG_INCLUDE_DIR} )
|
||||||
TARGET_LINK_LIBRARIES( ${PNG_LIBRARY} )
|
|
||||||
|
|
||||||
SET( SOURCES ${SOURCES} "src/ImageLoaderPNG.cpp" )
|
SET( SOURCES ${SOURCES} "src/ImageLoaderPNG.cpp" )
|
||||||
SET( HEADERS ${HEADERS} "src/ImageLoaderPNG.h" )
|
SET( HEADERS ${HEADERS} "src/ImageLoaderPNG.h" )
|
||||||
|
@ -29,3 +29,7 @@ ADD_LIBRARY(TexCompIO
|
||||||
${SOURCES}
|
${SOURCES}
|
||||||
${HEADERS}
|
${HEADERS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
IF( PNG_FOUND )
|
||||||
|
TARGET_LINK_LIBRARIES( TexCompIO ${PNG_LIBRARY} )
|
||||||
|
ENDIF()
|
||||||
|
|
Loading…
Reference in a new issue