blob: 287dae613106b7656679eb91872b9d79fe4d5486 (
plain)
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 index.html for further 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: dont install dlls and fix openal static
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bf5a805..78e5630 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -87,6 +87,7 @@
# define SFML_STATIC if the build type is not set to 'shared'
if(NOT BUILD_SHARED_LIBS)
add_definitions(-DSFML_STATIC)
+ add_definitions(-DAL_LIBTYPE_STATIC)
endif()
# remove SL security warnings with Visual C++
@@ -248,22 +248,6 @@
# install 3rd-party libraries and tools
if(SFML_OS_WINDOWS)
- # install the binaries of SFML dependencies
- if(ARCH_32BITS)
- install(DIRECTORY extlibs/bin/x86/ DESTINATION bin)
- if(SFML_COMPILER_MSVC)
- install(DIRECTORY extlibs/libs-msvc/x86/ DESTINATION lib)
- else()
- install(DIRECTORY extlibs/libs-mingw/x86/ DESTINATION lib)
- endif()
- elseif(ARCH_64BITS)
- install(DIRECTORY extlibs/bin/x64/ DESTINATION bin)
- if(SFML_COMPILER_MSVC)
- install(DIRECTORY extlibs/libs-msvc/x64/ DESTINATION lib)
- else()
- install(DIRECTORY extlibs/libs-mingw/x64/ DESTINATION lib)
- endif()
- endif()
elseif(SFML_OS_MACOSX)
--
1.8.2.3
|