forked from mxe/mxe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
alure-1-fixes.patch
50 lines (40 loc) · 1.24 KB
/
alure-1-fixes.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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 <[email protected]>
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 <[email protected]>
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}"
)