mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-22 11:43:56 +00:00
Remove warning from cmake process
This commit is contained in:
parent
4e43207fd8
commit
5bebdc3b07
1 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,7 @@ SET( HEADERS
|
|||
FIND_PACKAGE( PNG )
|
||||
IF( PNG_FOUND )
|
||||
INCLUDE_DIRECTORIES( ${PNG_INCLUDE_DIR} )
|
||||
TARGET_LINK_LIBRARIES( ${PNG_LIBRARY} )
|
||||
|
||||
|
||||
SET( SOURCES ${SOURCES} "src/ImageLoaderPNG.cpp" )
|
||||
SET( HEADERS ${HEADERS} "src/ImageLoaderPNG.h" )
|
||||
|
@ -29,3 +29,7 @@ ADD_LIBRARY(TexCompIO
|
|||
${SOURCES}
|
||||
${HEADERS}
|
||||
)
|
||||
|
||||
IF( PNG_FOUND )
|
||||
TARGET_LINK_LIBRARIES( TexCompIO ${PNG_LIBRARY} )
|
||||
ENDIF()
|
||||
|
|
Loading…
Reference in a new issue