File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ if (NOT UNIX)
1919endif (UNIX )
2020
2121# lodepng
22- project (lodepng_wrap LANGUAGES CXX )
22+ project (lodepng_wrap LANGUAGES C )
2323
24- set (LODEPNG_SRC subprojects/lodepng/lodepng.cpp )
24+ set (LODEPNG_SRC subprojects/lodepng/lodepng.c )
2525set (CMAKE_INSTALL_LIBDIR ${CMAKE_SOURCE_DIR} /lodepng_build)
2626
2727add_library (lodepng_wrap SHARED ${LODEPNG_SRC} )
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ git checkout 784ff113071f1fa7832ebe74667f2fd0756c634f
1919
2020git clone https://github.com/lvandeve/lodepng.git $sub /lodepng && cd $sub /lodepng
2121git checkout 997936fd2b45842031e4180d73d7880e381cf33f
22+ cp -f $sub /lodepng/lodepng.cpp $sub /lodepng/lodepng.c
2223
2324git clone https://github.com/rcancro/giflib.git $sub /giflib && cd $sub /giflib
2425git checkout 4b0c893cfddf16421bd3f59207fdf65f06e9a10d
You can’t perform that action at this time.
0 commit comments