diff --git a/indra/cmake/Audio.cmake b/indra/cmake/Audio.cmake
index 87740811b37fb72c9a3b1b9037a30decd383ddf3..6a2ffc1c1fa2fc770898377f6665285c94559a2d 100644
--- a/indra/cmake/Audio.cmake
+++ b/indra/cmake/Audio.cmake
@@ -30,10 +30,3 @@ else (USESYSTEMLIBS)
     set(VORBISFILE_LIBRARIES vorbisfile)
   endif (WINDOWS)
 endif (USESYSTEMLIBS)
-
-link_directories(
-    ${VORBIS_LIBRARY_DIRS}
-    ${VORBISENC_INCLUDE_DIRS}
-    ${VORBISFILE_LIBRARY_DIRS}
-    ${OGG_LIBRARY_DIRS}
-    )
diff --git a/indra/cmake/FreeType.cmake b/indra/cmake/FreeType.cmake
index c954ee808c6f50b97a49a43ce103440be09f702e..8e418d01cc0cbd0742036e2dccc6614981f75066 100644
--- a/indra/cmake/FreeType.cmake
+++ b/indra/cmake/FreeType.cmake
@@ -15,5 +15,3 @@ else ()
   endif()
   set(FREETYPE_LIBRARIES freetype)
 endif ()
-
-link_directories(${FREETYPE_LIBRARY_DIRS})