summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8133d45aa..d727b84f7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -216,10 +216,7 @@ endif(EXTRA_INCLUDE)
# If extra library directories were specified, tell cmake about them.
if(EXTRA_LIBS)
- foreach(LIB ${EXTRA_LIBS})
- set(LDFLAGS "${LDFLAGS} -L${LIB}")
- link_directories(${LIB})
- endforeach(LIB)
+ link_directories(${EXTRA_LIBS})
endif(EXTRA_LIBS)
# Find gettext