aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/cmake')
-rw-r--r--linden/indra/cmake/00-Common.cmake8
-rw-r--r--linden/indra/cmake/gpg.vs.cmake1
-rw-r--r--linden/indra/cmake/libgcrypt.cmake10
-rw-r--r--linden/indra/cmake/libgpg-error.cmake10
-rw-r--r--linden/indra/cmake/libotr.cmake2
-rw-r--r--linden/indra/cmake/libotrb.cmake2
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)
106endif (WINDOWS) 106endif (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
6set(gpg.vs_INCLUDE_DIRS ) 6set(gpg.vs_INCLUDE_DIRS )
7add_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
3set(LIBGCRYPT_INCLUDE_DIRS 3set(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
8if (DARWIN OR LINUX)
7set(LIBGCRYPT_LIBRARIES 9set(LIBGCRYPT_LIBRARIES
8 ${CMAKE_BINARY_DIR}/libgcrypt/lib/libgcrypt.a 10 ${CMAKE_BINARY_DIR}/libgcrypt/lib/libgcrypt.a
9 ) 11 )
12endif (DARWIN OR LINUX)
10 13
14if (WINDOWS)
15set(LIBGCRYPT_LIBRARIES
16 ${CMAKE_BINARY_DIR}/libgcrypt/gcrypt.lib
17 )
18endif (WINDOWS)
19
20add_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
3set(LIBGPG-ERROR_INCLUDE_DIRS 3set(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
8if (DARWIN OR LINUX)
7set(LIBGPG-ERROR_LIBRARIES 9set(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 )
12endif (DARWIN OR LINUX)
10 13
14if (WINDOWS)
15set(LIBGPG-ERROR_LIBRARIES
16 ${CMAKE_BINARY_DIR}/libgpg-error/gpg-error.lib
17 )
18endif (WINDOWS)
19
20add_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
6set(LIBOTR_LIBRARIES 6set(LIBOTR_LIBRARIES
7 otr 7 otr
8 ) 8 )
9
10add_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 @@
2include(Prebuilt) 2include(Prebuilt)
3 3
4set(OTR_LIBRARY otr) 4set(OTR_LIBRARY otr)
5
6add_definitions( /DHAVE_CONFIG_H=1 )