summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2010-03-02 13:42:17 -0800
committerRoxie Linden <roxie@lindenlab.com>2010-03-02 13:42:17 -0800
commitd79af12e04e182bab639e64e9cd1181d5c799582 (patch)
tree20a6554d68f3f0a514ddfc2b8d11cae55f86752b /indra/cmake
parent25467eaf4aca8496b44f54b2ac7b72cb600fbb25 (diff)
Fix windows build break, segfault on exit and bad library link location
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/LLCommon.cmake6
-rw-r--r--indra/cmake/Linking.cmake1
2 files changed, 5 insertions, 2 deletions
diff --git a/indra/cmake/LLCommon.cmake b/indra/cmake/LLCommon.cmake
index d1ab264a41..c10fa63049 100644
--- a/indra/cmake/LLCommon.cmake
+++ b/indra/cmake/LLCommon.cmake
@@ -13,7 +13,11 @@ set(LLCOMMON_INCLUDE_DIRS
${Boost_INCLUDE_DIRS}
)
-set(LLCOMMON_LIBRARIES llcommon)
+if (WINDOWS)
+ set(LLCOMMON_LIBRARIES llcommon iphlpapi)
+else (WINDOWS)
+ set(LLCOMMON_LIBRARIES llcommon)
+endif (WINDOWS)
add_definitions(${TCMALLOC_FLAG})
diff --git a/indra/cmake/Linking.cmake b/indra/cmake/Linking.cmake
index fca0cdd2d2..bca99caf2a 100644
--- a/indra/cmake/Linking.cmake
+++ b/indra/cmake/Linking.cmake
@@ -48,7 +48,6 @@ if (WINDOWS)
wldap32
gdi32
user32
- iphlpapi
dbghelp
)
else (WINDOWS)