summaryrefslogtreecommitdiffstats
path: root/src/sfml-1-fixes.patch
blob: e10dcc11ff70740ac96d4e0f0cd0142e1fa434aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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: "fix@me" <fix@me>
Date: Sat, 6 Jul 2013 17:55:39 +1000
Subject: [PATCH 1/1] fix openal static


diff --git a/cmake/Macros.cmake b/cmake/Macros.cmake
index 1111111..2222222 100644
--- a/cmake/Macros.cmake
+++ b/cmake/Macros.cmake
@@ -178,6 +178,7 @@ macro(sfml_add_library target)
     # define SFML_STATIC if the build type is not set to 'shared'
     if(NOT BUILD_SHARED_LIBS)
         target_compile_definitions(${target} PUBLIC "SFML_STATIC")
+        target_compile_definitions(${target} PUBLIC "AL_LIBTYPE_STATIC")
     endif()
 
 endmacro()