diff options
author | Roxie Linden <roxie@lindenlab.com> | 2010-03-02 13:42:17 -0800 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2010-03-02 13:42:17 -0800 |
commit | d79af12e04e182bab639e64e9cd1181d5c799582 (patch) | |
tree | 20a6554d68f3f0a514ddfc2b8d11cae55f86752b /indra/cmake | |
parent | 25467eaf4aca8496b44f54b2ac7b72cb600fbb25 (diff) |
Fix windows build break, segfault on exit and bad library link location
Diffstat (limited to 'indra/cmake')
-rw-r--r-- | indra/cmake/LLCommon.cmake | 6 | ||||
-rw-r--r-- | indra/cmake/Linking.cmake | 1 |
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) |