summaryrefslogtreecommitdiffstats
path: root/src/citra/CMakeLists.txt
diff options
context:
space:
mode:
authordarkf <lw9k123@gmail.com>2014-11-29 06:38:20 +0100
committerdarkf <lw9k123@gmail.com>2014-11-29 06:38:20 +0100
commit459502e48ccb6607e531112e7ae89f62b75023c8 (patch)
tree491c2a24f1496d4abab0d3339e559b9facc74265 /src/citra/CMakeLists.txt
parentMerge pull request #223 from linkmauve/remove-thread (diff)
downloadyuzu-459502e48ccb6607e531112e7ae89f62b75023c8.tar
yuzu-459502e48ccb6607e531112e7ae89f62b75023c8.tar.gz
yuzu-459502e48ccb6607e531112e7ae89f62b75023c8.tar.bz2
yuzu-459502e48ccb6607e531112e7ae89f62b75023c8.tar.lz
yuzu-459502e48ccb6607e531112e7ae89f62b75023c8.tar.xz
yuzu-459502e48ccb6607e531112e7ae89f62b75023c8.tar.zst
yuzu-459502e48ccb6607e531112e7ae89f62b75023c8.zip
Diffstat (limited to '')
-rw-r--r--src/citra/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/citra/CMakeLists.txt b/src/citra/CMakeLists.txt
index f2add394f..c4cbf9fea 100644
--- a/src/citra/CMakeLists.txt
+++ b/src/citra/CMakeLists.txt
@@ -19,12 +19,15 @@ endif()
add_executable(citra ${SRCS} ${HEADERS})
target_link_libraries(citra core common video_core)
-target_link_libraries(citra ${OPENGL_gl_LIBRARY} ${GLFW_LIBRARIES} inih)
+target_link_libraries(citra ${GLFW_LIBRARIES} ${OPENGL_gl_LIBRARY} inih)
if (APPLE)
target_link_libraries(citra iconv pthread ${COREFOUNDATION_LIBRARY})
elseif (WIN32)
target_link_libraries(citra winmm)
+ if (MINGW)
+ target_link_libraries(citra iconv)
+ endif()
else() # Unix
target_link_libraries(citra pthread rt)
target_link_libraries(citra ${X11_X11_LIB} ${X11_Xi_LIB} ${X11_Xcursor_LIB} ${X11_Xrandr_LIB} ${X11_xv86vmode_LIB})