mxe/src/alure-1-fixes.patch

51 lines
1.2 KiB
Diff
Raw Permalink Normal View History

This file is part of MXE. See LICENSE.md for licensing information.
Contains ad hoc patches for cross building.
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Sun, 18 Feb 2018 12:33:24 +1100
Subject: [PATCH 1/2] fix pkg-config
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1111111..2222222 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,12 +14,12 @@ INCLUDE(CheckIncludeFile)
INCLUDE(CheckIncludeFiles)
INCLUDE(CheckLibraryExists)
INCLUDE(CheckSharedFunctionExists)
-INCLUDE(FindPkgConfig)
-INCLUDE(UsePkgConfig)
INCLUDE(CheckFileOffsetBits)
PROJECT(ALURE)
+find_package(PkgConfig)
+
IF(WIN32)
SET(LIBNAME ALURE32)
ELSE(WIN32)
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Sun, 18 Feb 2018 12:51:07 +1100
Subject: [PATCH 2/2] disable docs
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1111111..2222222 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -497,9 +497,6 @@ ELSE(APPLE)
SET(INCPATH AL)
ENDIF(APPLE)
-INSTALL(DIRECTORY "${ALURE_SOURCE_DIR}/docs/html"
- DESTINATION share/doc/alure
-)
INSTALL(FILES include/AL/alure.h
DESTINATION "include/${INCPATH}"
)