commit
e7d2118858
3 changed files with 13 additions and 31 deletions
|
@ -16,20 +16,6 @@ create_directory_groups(${SRCS} ${HEADERS})
|
|||
add_executable(citra ${SRCS} ${HEADERS})
|
||||
target_link_libraries(citra core common video_core)
|
||||
target_link_libraries(citra ${GLFW_LIBRARIES} ${OPENGL_gl_LIBRARY} inih)
|
||||
|
||||
if (UNIX)
|
||||
target_link_libraries(citra -pthread)
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
target_link_libraries(citra iconv ${COREFOUNDATION_LIBRARY})
|
||||
elseif (WIN32)
|
||||
target_link_libraries(citra winmm wsock32 ws2_32)
|
||||
if (MINGW) # GCC does not support codecvt, so use iconv instead
|
||||
target_link_libraries(citra iconv)
|
||||
endif()
|
||||
else() # Unix
|
||||
target_link_libraries(citra rt)
|
||||
endif()
|
||||
target_link_libraries(citra ${PLATFORM_LIBRARIES})
|
||||
|
||||
#install(TARGETS citra RUNTIME DESTINATION ${bindir})
|
||||
|
|
|
@ -60,17 +60,6 @@ endif()
|
|||
add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS})
|
||||
target_link_libraries(citra-qt core common video_core qhexedit)
|
||||
target_link_libraries(citra-qt ${OPENGL_gl_LIBRARY} ${CITRA_QT_LIBS})
|
||||
|
||||
if (UNIX)
|
||||
target_link_libraries(citra-qt -pthread)
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
target_link_libraries(citra-qt iconv ${COREFOUNDATION_LIBRARY})
|
||||
elseif (WIN32)
|
||||
target_link_libraries(citra-qt winmm wsock32 ws2_32)
|
||||
else() # Unix
|
||||
target_link_libraries(citra-qt rt)
|
||||
endif()
|
||||
target_link_libraries(citra-qt ${PLATFORM_LIBRARIES})
|
||||
|
||||
#install(TARGETS citra-qt RUNTIME DESTINATION ${bindir})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue