You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
738 B
23 lines
738 B
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()
|