summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2013-08-29 05:40:16 -0500
committerRyan Houdek <Sonicadvance1@gmail.com>2013-08-29 05:40:16 -0500
commitcb8e7a1be5bb8aecf8a1a1e97b5f9124892c8a7b (patch)
tree4431f04e3b2bb749a77d0aeaed78a010537c59d4 /Source
parent160d72a9aea5600057ccadd9fae7ff6bc49c6643 (diff)
Work around check_lib not finding iconv.
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinWX/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/CMakeLists.txt b/Source/Core/DolphinWX/CMakeLists.txt
index d881af255a..e16f02fc1b 100644
--- a/Source/Core/DolphinWX/CMakeLists.txt
+++ b/Source/Core/DolphinWX/CMakeLists.txt
@@ -1,6 +1,5 @@
set(LIBS core
${LZO}
- iconv
discio
bdisasm
inputcommon
@@ -9,6 +8,11 @@ set(LIBS core
z
sfml-network
${GTK2_LIBRARIES})
+
+if(NOT ICONV)
+ set(LIBS ${LIBS} iconv)
+endif()
+
if(NOT ANDROID)
if(USE_X11)
set(LIBS ${LIBS} ${X11_LIBRARIES}