From 8d22cbbe734950f434d755f7643608a3e11347e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20K=C3=A5re=20Alsaker?= Date: Sat, 2 Jul 2022 19:35:13 +0200 Subject: [PATCH 1/2] Limit to C --- expat/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt index bcd91ba..ff1187b 100755 --- a/expat/CMakeLists.txt +++ b/expat/CMakeLists.txt @@ -1,7 +1,7 @@ # This file is copyrighted under the BSD-license for buildsystem files of KDE # copyright 2010, Patrick Spendrin -project(expat) +project(expat C) cmake_minimum_required(VERSION 2.8.10) set(PACKAGE_BUGREPORT "expat-bugs@libexpat.org") From 89644b1a632af15997b8385535a4aa1584387949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20K=C3=A5re=20Alsaker?= Date: Sat, 2 Jul 2022 20:10:25 +0200 Subject: [PATCH 2/2] Hardcode lib name --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index b1ac8b8..a95a199 100644 --- a/build.rs +++ b/build.rs @@ -40,6 +40,7 @@ fn main() { }; let mut dst = cfg + .define("CMAKE_INSTALL_LIBDIR", "lib") .define("BUILD_shared", "OFF") .define("BUILD_tools", "OFF") .define("BUILD_examples", "OFF")