update libpng as static library. (#282)
To fix the error when trying to save image with png extension
This commit is contained in:
parent
0d37c31cf5
commit
2c8201af1a
|
|
@ -67,11 +67,10 @@ set_target_properties(ogg PROPERTIES
|
||||||
IMPORTED_IMPLIB ${CMAKE_CURRENT_LIST_DIR}/libs/ogg.lib
|
IMPORTED_IMPLIB ${CMAKE_CURRENT_LIST_DIR}/libs/ogg.lib
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(png SHARED IMPORTED GLOBAL)
|
add_library(png STATIC IMPORTED GLOBAL)
|
||||||
|
|
||||||
set_target_properties(png PROPERTIES
|
set_target_properties(png PROPERTIES
|
||||||
IMPORTED_LOCATION ${CMAKE_CURRENT_LIST_DIR}/libs/libpng16.dll
|
IMPORTED_LOCATION ${CMAKE_CURRENT_LIST_DIR}/libs/libpng16.lib
|
||||||
IMPORTED_IMPLIB ${CMAKE_CURRENT_LIST_DIR}/libs/libpng16.lib
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue