Quietly log writes to 0xc0003030. Written to only by bs1, and we don't seem to really...
[dolphin.git] / Source / Plugins / Plugin_VideoOGL / CMakeLists.txt
blob71126a8e06c7ed065264c7c9ba9ea5c1d58181e2
1 set(SRCS        Src/BPFunctions.cpp
2                         Src/FramebufferManager.cpp
3                         Src/GLUtil.cpp
4                         Src/main.cpp
5                         Src/NativeVertexFormat.cpp
6                         Src/PixelShaderCache.cpp
7                         Src/PostProcessing.cpp
8                         Src/RasterFont.cpp
9                         Src/Render.cpp
10                         Src/TextureCache.cpp
11                         Src/TextureConverter.cpp
12                         Src/VertexShaderCache.cpp
13                         Src/VertexManager.cpp
14                         Src/XFB.cpp)
16 set(LIBS        videocommon
17                         GLEW
18                         SOIL
19                         common
20                         Cg
21                         CgGL)
23 if(wxWidgets_FOUND)
24         set(SRCS        ${SRCS}
25                                 Src/GUI/ConfigDlg.cpp
26                                 Src/Debugger/Debugger.cpp)
27 endif(wxWidgets_FOUND)
29 if(APPLE AND NOT wxWidgets_FOUND)
30         set(SRCS        ${SRCS} Src/cocoaGL.m)
31 elseif(WIN32)
32         set(SRCS ${SRCS} Src/OS/Win32.cpp)
33 elseif(NOT APPLE)
34         set(LIBS        ${LIBS} clrun)
35 endif()
37 add_library(Plugin_VideoOGL SHARED ${SRCS})
38 target_link_libraries(Plugin_VideoOGL ${LIBS})
39 install(TARGETS Plugin_VideoOGL
40                 LIBRARY DESTINATION ${DESTDIR}${plugindir}
41                 RUNTIME DESTINATION ${DESTDIR}${plugindir})