[gimp] build: build json-c with CMake.



commit de6eacd524f34b4765a460ecdba5840fbfb8ff16
Author: Jehan <jehan girinstud io>
Date:   Wed Apr 8 21:31:57 2020 +0200

    build: build json-c with CMake.
    
    json-c has 2 build systems (autotools and CMake) and it seems their
    autotools broke with recent changes. I will report upstream. For the
    time being, we may as well switch to CMake build.

 build/windows/crossbuild-gitlab-ci/build-deps.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/build/windows/crossbuild-gitlab-ci/build-deps.sh 
b/build/windows/crossbuild-gitlab-ci/build-deps.sh
index 34f2dfebf7..fbc2a267b9 100644
--- a/build/windows/crossbuild-gitlab-ci/build-deps.sh
+++ b/build/windows/crossbuild-gitlab-ci/build-deps.sh
@@ -37,7 +37,7 @@ cd ..
 
 git clone --depth 1 https://github.com/json-c/json-c.git && \
 mkdir json-c/_build && cd json-c/_build && \
-CFLAGS="-Wno-expansion-to-defined" crossroad ../configure && make install || exit 1
+CFLAGS="-Wno-expansion-to-defined" crossroad cmake .. && make install || exit 1
 cd ../..
 
 # libmypaint


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]