diff options
author | David Walter Seikel | 2013-09-02 16:25:18 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-09-02 16:25:18 +1000 |
commit | 3091381313fe16afa2f39a92665b4403e9cfc888 (patch) | |
tree | b12cf32be8fc9055f6830965029c2844457d184e /linden/indra/cmake | |
parent | Merge post fixes so that Linux compiles. (diff) | |
download | meta-impy-3091381313fe16afa2f39a92665b4403e9cfc888.zip meta-impy-3091381313fe16afa2f39a92665b4403e9cfc888.tar.gz meta-impy-3091381313fe16afa2f39a92665b4403e9cfc888.tar.bz2 meta-impy-3091381313fe16afa2f39a92665b4403e9cfc888.tar.xz |
More post merge cleanups, make it compile under Windows.
Diffstat (limited to 'linden/indra/cmake')
-rw-r--r-- | linden/indra/cmake/00-Common.cmake | 8 | ||||
-rw-r--r-- | linden/indra/cmake/gpg.vs.cmake | 1 | ||||
-rw-r--r-- | linden/indra/cmake/libgcrypt.cmake | 10 | ||||
-rw-r--r-- | linden/indra/cmake/libgpg-error.cmake | 10 | ||||
-rw-r--r-- | linden/indra/cmake/libotr.cmake | 2 | ||||
-rw-r--r-- | linden/indra/cmake/libotrb.cmake | 2 |
6 files changed, 29 insertions, 4 deletions
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake index 06368c0..6a97391 100644 --- a/linden/indra/cmake/00-Common.cmake +++ b/linden/indra/cmake/00-Common.cmake | |||
@@ -73,7 +73,6 @@ if (WINDOWS) | |||
73 | /DUNICODE | 73 | /DUNICODE |
74 | /D_UNICODE | 74 | /D_UNICODE |
75 | /GS | 75 | /GS |
76 | /TP | ||
77 | /W3 | 76 | /W3 |
78 | /c | 77 | /c |
79 | /Zc:forScope | 78 | /Zc:forScope |
@@ -100,9 +99,10 @@ if (WINDOWS) | |||
100 | endif (MSVC80 OR MSVC90) | 99 | endif (MSVC80 OR MSVC90) |
101 | 100 | ||
102 | # Are we using the crummy Visual Studio KDU build workaround? | 101 | # Are we using the crummy Visual Studio KDU build workaround? |
103 | if (NOT VS_DISABLE_FATAL_WARNINGS) | 102 | # FIXME: Let's just disable this for now, see if it's needed, coz I have no idea what that work around is about. |
104 | add_definitions(/WX) | 103 | # if (NOT VS_DISABLE_FATAL_WARNINGS) |
105 | endif (NOT VS_DISABLE_FATAL_WARNINGS) | 104 | # add_definitions(/WX) |
105 | # endif (NOT VS_DISABLE_FATAL_WARNINGS) | ||
106 | endif (WINDOWS) | 106 | endif (WINDOWS) |
107 | 107 | ||
108 | 108 | ||
diff --git a/linden/indra/cmake/gpg.vs.cmake b/linden/indra/cmake/gpg.vs.cmake index a5220f4..c551b3a 100644 --- a/linden/indra/cmake/gpg.vs.cmake +++ b/linden/indra/cmake/gpg.vs.cmake | |||
@@ -4,3 +4,4 @@ | |||
4 | # make the libgcrypt, libgpg-error, and libotr compile. | 4 | # make the libgcrypt, libgpg-error, and libotr compile. |
5 | 5 | ||
6 | set(gpg.vs_INCLUDE_DIRS ) | 6 | set(gpg.vs_INCLUDE_DIRS ) |
7 | add_definitions( /DHAVE_CONFIG_H=1 ) | ||
diff --git a/linden/indra/cmake/libgcrypt.cmake b/linden/indra/cmake/libgcrypt.cmake index 4d19467..19ef1f8 100644 --- a/linden/indra/cmake/libgcrypt.cmake +++ b/linden/indra/cmake/libgcrypt.cmake | |||
@@ -2,9 +2,19 @@ | |||
2 | 2 | ||
3 | set(LIBGCRYPT_INCLUDE_DIRS | 3 | set(LIBGCRYPT_INCLUDE_DIRS |
4 | ${CMAKE_BINARY_DIR}/libgcrypt/include | 4 | ${CMAKE_BINARY_DIR}/libgcrypt/include |
5 | ${LIBS_OPEN_DIR}/libgcrypt/libgcrypt-1.2.2/src | ||
5 | ) | 6 | ) |
6 | 7 | ||
8 | if (DARWIN OR LINUX) | ||
7 | set(LIBGCRYPT_LIBRARIES | 9 | set(LIBGCRYPT_LIBRARIES |
8 | ${CMAKE_BINARY_DIR}/libgcrypt/lib/libgcrypt.a | 10 | ${CMAKE_BINARY_DIR}/libgcrypt/lib/libgcrypt.a |
9 | ) | 11 | ) |
12 | endif (DARWIN OR LINUX) | ||
10 | 13 | ||
14 | if (WINDOWS) | ||
15 | set(LIBGCRYPT_LIBRARIES | ||
16 | ${CMAKE_BINARY_DIR}/libgcrypt/gcrypt.lib | ||
17 | ) | ||
18 | endif (WINDOWS) | ||
19 | |||
20 | add_definitions( /DHAVE_CONFIG_H=1 ) | ||
diff --git a/linden/indra/cmake/libgpg-error.cmake b/linden/indra/cmake/libgpg-error.cmake index 417ad19..4ec0926 100644 --- a/linden/indra/cmake/libgpg-error.cmake +++ b/linden/indra/cmake/libgpg-error.cmake | |||
@@ -2,9 +2,19 @@ | |||
2 | 2 | ||
3 | set(LIBGPG-ERROR_INCLUDE_DIRS | 3 | set(LIBGPG-ERROR_INCLUDE_DIRS |
4 | ${CMAKE_BINARY_DIR}/libgpg-error/include | 4 | ${CMAKE_BINARY_DIR}/libgpg-error/include |
5 | ${LIBS_OPEN_DIR}/libgpg-error/libgpg-error-1.0/src | ||
5 | ) | 6 | ) |
6 | 7 | ||
8 | if (DARWIN OR LINUX) | ||
7 | set(LIBGPG-ERROR_LIBRARIES | 9 | set(LIBGPG-ERROR_LIBRARIES |
8 | ${CMAKE_BINARY_DIR}/libgpg-error/lib/libgpg-error.a | 10 | ${CMAKE_BINARY_DIR}/libgpg-error/lib/libgpg-error.a |
9 | ) | 11 | ) |
12 | endif (DARWIN OR LINUX) | ||
10 | 13 | ||
14 | if (WINDOWS) | ||
15 | set(LIBGPG-ERROR_LIBRARIES | ||
16 | ${CMAKE_BINARY_DIR}/libgpg-error/gpg-error.lib | ||
17 | ) | ||
18 | endif (WINDOWS) | ||
19 | |||
20 | add_definitions( /DHAVE_CONFIG_H=1 ) | ||
diff --git a/linden/indra/cmake/libotr.cmake b/linden/indra/cmake/libotr.cmake index 30544f8..6fd61f2 100644 --- a/linden/indra/cmake/libotr.cmake +++ b/linden/indra/cmake/libotr.cmake | |||
@@ -6,3 +6,5 @@ set(LIBOTR_INCLUDE_DIRS | |||
6 | set(LIBOTR_LIBRARIES | 6 | set(LIBOTR_LIBRARIES |
7 | otr | 7 | otr |
8 | ) | 8 | ) |
9 | |||
10 | add_definitions( /DHAVE_CONFIG_H=1 ) | ||
diff --git a/linden/indra/cmake/libotrb.cmake b/linden/indra/cmake/libotrb.cmake index eb8522f..e9290e8 100644 --- a/linden/indra/cmake/libotrb.cmake +++ b/linden/indra/cmake/libotrb.cmake | |||
@@ -2,3 +2,5 @@ | |||
2 | include(Prebuilt) | 2 | include(Prebuilt) |
3 | 3 | ||
4 | set(OTR_LIBRARY otr) | 4 | set(OTR_LIBRARY otr) |
5 | |||
6 | add_definitions( /DHAVE_CONFIG_H=1 ) | ||