From a5d31ade077c184d6f59de1f9e68cf023c2ff668 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Fri, 4 Dec 2020 02:02:06 +0100 Subject: [PATCH] librw+cmake: compile lodepng as pure C --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f51c309..2449599 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -101,6 +101,7 @@ target_include_directories(librw target_compile_definitions(librw PRIVATE + LODEPNG_NO_COMPILE_CPP "$,DEBUG,NDEBUG>" PUBLIC "RW_${LIBRW_PLATFORM}"