summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
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)