librw+cmake: compile lodepng as pure C

This commit is contained in:
Anonymous Maarten 2020-12-04 02:02:06 +01:00
parent 32234609ea
commit a5d31ade07
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ target_include_directories(librw
target_compile_definitions(librw
PRIVATE
LODEPNG_NO_COMPILE_CPP
"$<IF:$<CONFIG:DEBUG>,DEBUG,NDEBUG>"
PUBLIC
"RW_${LIBRW_PLATFORM}"