mxe/src/sfml-1-fixes-crlf.patch

23 lines
672 B
Diff
Raw Normal View History

This file is part of MXE. See LICENSE.md for licensing information.
Contains ad hoc patches for cross building.
From 4e522133482f3f37ee8f498a35294eb31738e307 Mon Sep 17 00:00:00 2001
From: MXE
Date: Sat, 6 Jul 2013 17:55:39 +1000
Subject: fix openal static
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1111111..2222222 100644
--- a/cmake/Macros.cmake
+++ b/cmake/Macros.cmake
@@ -173,6 +173,7 @@
# 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()
2015-03-22 12:11:50 +00:00
endmacro()