2016-08-22 20:52:34 +01:00
|
|
|
This file is part of MXE. See LICENSE.md for licensing information.
|
2013-07-06 09:13:45 +01:00
|
|
|
|
|
|
|
Contains ad hoc patches for cross building.
|
|
|
|
|
2018-11-22 08:08:30 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: "fix@me" <fix@me>
|
2013-07-06 09:13:45 +01:00
|
|
|
Date: Sat, 6 Jul 2013 17:55:39 +1000
|
2018-11-22 08:08:30 +00:00
|
|
|
Subject: [PATCH 1/1] fix openal static
|
2013-07-06 09:13:45 +01:00
|
|
|
|
|
|
|
|
2018-11-22 08:08:30 +00:00
|
|
|
diff --git a/cmake/Macros.cmake b/cmake/Macros.cmake
|
2018-08-24 00:04:45 +01:00
|
|
|
index 1111111..2222222 100644
|
|
|
|
--- a/cmake/Macros.cmake
|
|
|
|
+++ b/cmake/Macros.cmake
|
2018-11-22 08:08:30 +00:00
|
|
|
@@ -178,6 +178,7 @@ macro(sfml_add_library target)
|
2018-08-24 00:04:45 +01:00
|
|
|
# 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()
|
2018-11-22 08:08:30 +00:00
|
|
|
|
2018-08-24 00:04:45 +01:00
|
|
|
endmacro()
|