summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2012-12-25 17:10:43 -0500
committerNaram Qashat <cyberbotx@cyberbotx.com>2012-12-25 17:10:43 -0500
commit45ee7c12d03b496bbc9d42bfd1a82d48fbad9a4d (patch)
tree003a9d50199ffe9f1ce3b6117d6dfb9d9aef0872 /CMakeLists.txt
parent392b591d09509ae788f59b1b63a947ed7d8ad562 (diff)
Clean up the logic in adding extra library directories, adding to LDFLAGS isn't needed.
Diffstat (limited to 'CMakeLists.txt')
-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