summaryrefslogtreecommitdiffstats
path: root/src/citra/CMakeLists.txt
blob: ee3cb55cf5cfb08d9d2af113612c6bdebb7a60fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
set(SRCS    citra.cpp
            emu_window/emu_window_glfw.cpp)
set(HEADS   citra.h
            resource.h)

add_executable(citra ${SRCS} ${HEADS})

if (APPLE)
    target_link_libraries(citra core common video_core iconv pthread ${COREFOUNDATION_LIBRARY} ${OPENGL_LIBRARIES} ${GLEW_LIBRARY} ${GLFW_LIBRARIES})
else()
    target_link_libraries(citra core common video_core pthread ${OPENGL_LIBRARIES} ${GLEW_LIBRARY} ${GLFW_LIBRARIES})
endif()

#install(TARGETS citra RUNTIME DESTINATION ${bindir})