summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2015-01-10 02:03:07 -0500
committerGravatar bunnei2015-01-10 02:03:07 -0500
commite7d21188588266cc6846f73a2f20b4a6aea6d750 (patch)
treeba24bb1c44b9aa926563cd9f39c7495bc2a52858 /src
parentMerge pull request #454 from chinhodado/patch-1 (diff)
parentLooks like that might be needed on OSX after all (diff)
downloadyuzu-e7d21188588266cc6846f73a2f20b4a6aea6d750.tar.gz
yuzu-e7d21188588266cc6846f73a2f20b4a6aea6d750.tar.xz
yuzu-e7d21188588266cc6846f73a2f20b4a6aea6d750.zip
Merge pull request #342 from uppfinnarn/master
Build improvements
Diffstat (limited to 'src')
-rw-r--r--src/citra/CMakeLists.txt16
-rw-r--r--src/citra_qt/CMakeLists.txt13
2 files changed, 2 insertions, 27 deletions
diff --git a/src/citra/CMakeLists.txt b/src/citra/CMakeLists.txt
index bbb3374f2..713f49193 100644
--- a/src/citra/CMakeLists.txt
+++ b/src/citra/CMakeLists.txt
@@ -16,20 +16,6 @@ create_directory_groups(${SRCS} ${HEADERS})
16add_executable(citra ${SRCS} ${HEADERS}) 16add_executable(citra ${SRCS} ${HEADERS})
17target_link_libraries(citra core common video_core) 17target_link_libraries(citra core common video_core)
18target_link_libraries(citra ${GLFW_LIBRARIES} ${OPENGL_gl_LIBRARY} inih) 18target_link_libraries(citra ${GLFW_LIBRARIES} ${OPENGL_gl_LIBRARY} inih)
19 19target_link_libraries(citra ${PLATFORM_LIBRARIES})
20if (UNIX)
21 target_link_libraries(citra -pthread)
22endif()
23
24if (APPLE)
25 target_link_libraries(citra iconv ${COREFOUNDATION_LIBRARY})
26elseif (WIN32)
27 target_link_libraries(citra winmm wsock32 ws2_32)
28 if (MINGW) # GCC does not support codecvt, so use iconv instead
29 target_link_libraries(citra iconv)
30 endif()
31else() # Unix
32 target_link_libraries(citra rt)
33endif()
34 20
35#install(TARGETS citra RUNTIME DESTINATION ${bindir}) 21#install(TARGETS citra RUNTIME DESTINATION ${bindir})
diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt
index a0ba252b3..bbc521f8a 100644
--- a/src/citra_qt/CMakeLists.txt
+++ b/src/citra_qt/CMakeLists.txt
@@ -60,17 +60,6 @@ endif()
60add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS}) 60add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS})
61target_link_libraries(citra-qt core common video_core qhexedit) 61target_link_libraries(citra-qt core common video_core qhexedit)
62target_link_libraries(citra-qt ${OPENGL_gl_LIBRARY} ${CITRA_QT_LIBS}) 62target_link_libraries(citra-qt ${OPENGL_gl_LIBRARY} ${CITRA_QT_LIBS})
63 63target_link_libraries(citra-qt ${PLATFORM_LIBRARIES})
64if (UNIX)
65 target_link_libraries(citra-qt -pthread)
66endif()
67
68if (APPLE)
69 target_link_libraries(citra-qt iconv ${COREFOUNDATION_LIBRARY})
70elseif (WIN32)
71 target_link_libraries(citra-qt winmm wsock32 ws2_32)
72else() # Unix
73 target_link_libraries(citra-qt rt)
74endif()
75 64
76#install(TARGETS citra-qt RUNTIME DESTINATION ${bindir}) 65#install(TARGETS citra-qt RUNTIME DESTINATION ${bindir})